Below are two examples of implementing ExpansionPanelList and ExpansionPanelList.radio in Flutter. Basic ExpansionPanelList This example creates a panel list in which multiple panels can be expanded at the same time. If you want......
This article walks you through two complete examples of making flipping card animation in Flutter. The first example implements things from scratch, and the second one uses a third-party package. Without any further ado, let’s......
This article shows you how to create spinning animation by using the built-in RotationTransition widget in Flutter. What is the Point? The RotationTransition widget is used to create a rotation transition. It can take a child......
In general, the DecoratedBoxTransition widget usually goes with the following widgets/classes: AnimationController: This class creates a controller for animation. DecorationTween: An interpolation between two......
Learning by example is one of the most effective learning methods, especially in web and mobile development. In this article, we will walk through a few complete examples of using Transform, a widget that can transform its child in......
A few examples of implementing TweenAnimationBuilder in Flutter. A Pulsing Star What we are going to do here is to create a pulsing circle star in the lonely, limitless purple universe. App Preview The complete code //......
This article walks you through 3 examples of using AnimationController in Flutter. Simple scaling box This example shows you how to use AnimationController in the simplest way. It creates an orange box whose size changes over......
A simple example that demonstrates how to use the FadeTransition widget in Flutter to animate the opacity of its child. App Preview This example creates a purple box with an opacity that changes continuously over time. The......
A quick example that demonstrates how to use the ColorTween widget in Flutter to create a smooth transition between two colors. Preview This small app displays a circle whose background color changes continuously from blue to amber......
Flutter is an open-source UI software development kit that grows very quickly and is regularly updated with major changes. Therefore, it is very normal for you to get incompatible errors when working with it. This short article shows......
This article shows you how to create a button with a loading indicator inside. You can write code from scratch or make use of a third-party plugin to get the job done. Using self-written code Example Preview The tiny app we......
This article walks you through a few practical examples of using the FilteringTextInputFormatter widget in Flutter to blacklist or whitelist certain characters when the user enters text into a TextField (or TextFormField). Without any......