simple_animated_path 0.0.2
simple_animated_path: ^0.0.2 copied to clipboard
Simple Animated Path - helps to add animation of custom paths
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,
),
...
],
);
License #
- MIT License