Last updated:
0 purchases
sheep animation
sheep_animation #
Package that makes creating Flutter animation easier.
Example #
Initialize your own AnimationProvider which has one parameter DotsTickerProvider.
final AnimationProvider _animationProvider = AnimationProvider(DotsTickerProvider(true));
copied to clipboard
After that, you should call the setUpAnimation to correctly use the other animation control
methods. This method will call your function every time the animation value changes.
_animationProvider.setUpAnimation(tickFunction: (value) => update(value));
copied to clipboard
Starts the animation. You need to specify the value of begin, end, duration animation.
_animationProvider.forward(begin: 0.0, end: 300.0, const Duration(milliseconds: 500));
copied to clipboard
Will return true or false depending on whether the animation is active.
_animationProvider.isAnimationActive();
copied to clipboard
Stops running this animation and successfully completes futures. The animation stops in its current
state.
_animationProvider.stop();
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.