Last updated:
0 purchases
simple animated path
Simple Animated Path #
A Flutter package that allow to animate custom paths.
Example #
How to use #
/// create your Path
final path = Path();
//...
/// create a Paint and configure it
final paint = Paint();
//...
/// create animation
final anim = Tween<double>(begin: 0, end: 1);
//...
/// add the widget with a list on path configuration
SimpleAnimatedPathWidget(
animation: anim,
size: Size(itemSize, itemSize),
configurations: [
PathConfiguration(
paint: paint,
path: path,
),
...
],
);
copied to clipboard
License #
MIT License
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.