sheep_animation 1.1.1 icon indicating copy to clipboard operation
sheep_animation: ^1.1.1 copied to clipboard

Package with simple interface that makes creating Flutter animation easier.

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));

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));

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));

Will return true or false depending on whether the animation is active.

_animationProvider.isAnimationActive();

Stops running this animation and successfully completes futures. The animation stops in its current state.

_animationProvider.stop();
2
likes
120
pub points
63%
popularity

Publisher

verified publisher iconsheep-apps.com

Package with simple interface that makes creating Flutter animation easier.

Homepage

Documentation

API reference

License

Icon for licenses.GPL-3.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on sheep_animation