widget_animator 0.0.2 copy "widget_animator: ^0.0.2" to clipboard
widget_animator: ^0.0.2 copied to clipboard

outdated

Animate your widgets fast and easy

Widget Animator #

Build Status Build Status

This package helps you to easily animate your widgets with just a few steps.

This works well on your ListView items and... actually all of your widgets!

Implemented animations:

  • Fade Transition
  • Slide Transition(ltr/rtl)
  • Size Transition
  • Opacity Transition

Using #

 return Scaffold(
      backgroundColor: Colors.white,
      body: ListView.builder(
        itemCount: 32,
        itemBuilder: (context, index) {
            return WidgetAnimator(
              duration: Duration(milliseconds: 1000), // Optional, defaults to 290ms
              child: ListTile(
                title: Text('Item $index'),
              ),
            );
        },
      ),
    );