❗ In order to start using Phased you must have the Flutter SDK installed on your machine.
Add phased to your pubspec.yaml:
dependencies:phased:
Install it:
flutter packages get
Description
Phased is a simple state management meant to be used to build animations, its objective is to
provide an easy, boilerplateless way to create and manage the state of an animation, so developers
can focus on building the animations themselves.
The package consists of two classes: PhasedState, which describes the state and offers control methods for an animation, and Phased, an abstract Widget that will build the animation itself.
Example
To build a simple animation that blinks a child using opacity, the following code can be used: