animation_builder

Last updated:

0 purchases

animation_builder Image
animation_builder Images
Add to Cart

Description:

animation builder

animation_builder #
Fluent and type-safe API to build keyframes and timing for Web Animation API
Usage #
A simple usage example:
void main() {
final anim = new AnimationBuilder().duration(2000).fillForwards()
..createAt(0.0).backgroundColor('blue')
..createAt(1.0).backgroundColor('red');

print(anim.makeKeyframes());
print(anim.makeOptions());

querySelector('#output').animate(anim.makeKeyframes(), anim.makeOptions());
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.