gg_map_animation 0.9.0 copy "gg_map_animation: ^0.9.0" to clipboard
gg_map_animation: ^0.9.0 copied to clipboard

By adding a .map method to Animation, GgMapAnimationExtension allows you to map one Animation easily to another.

GgMapAnimationExtension #

GgMapAnimationExtension adds a .map(...) function to the Animation class.

Getting Started #

Assuming you have a given animation, use the .map(...) function to map the animation to a different value, e.g. to an angle.

final mappedAnimation = animation.map((i) => 2 * pi * i);
0
likes
150
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

By adding a .map method to Animation, GgMapAnimationExtension allows you to map one Animation easily to another.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on gg_map_animation