simple_animated_path 0.0.2 copy "simple_animated_path: ^0.0.2" to clipboard
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
9
likes
140
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

Simple Animated Path - helps to add animation of custom paths

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on simple_animated_path