animated_list_view_scroll 1.0.2 copy "animated_list_view_scroll: ^1.0.2" to clipboard
animated_list_view_scroll: ^1.0.2 copied to clipboard

A widget that provides a list view with scrolling animation. You can set the animation for each object and other interesting features!

🌟 AnimatedListViewScroll #

Provides a listview with animation on the scroll

🎯 Installing #

dependencies:
  animated_list_view_scroll: any

📥 Import #

import 'package:animated_list_view_scroll/animated_list_view_scroll.dart';

🎮 How To Use #

AnimatedListViewScroll(
        itemCount: 1000, //REQUIRED
        itemHeight: 60, //REQUIRED (Total height of a single item must contains optional padding or margin)
        animationOnReverse: true,
        animationDuration: Duration(milliseconds: 200),
        itemBuilder: (context, index) {
          return AnimatedListViewItem(
            key: GlobalKey(), //REQUIRED
            index: index, //REQUIRED
            animationBuilder: (context, index, controller) {
              Animation<Offset> animation = Tween<Offset>(begin: Offset(1.0, 0.0), end: Offset.zero).animate(controller);
              return SlideTransition(
                position: animation,
                child: Container(
                  height: 60,
                  child: Card(
                    child: Text(index.toString()),
                  ),
                ),
              );
            },
          );
        },
      );

🚀 Showcase #

Example

🚧 Bugs/Requests #

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome.

❗ Note #

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

📃 License #

Apache 2.0 License

32
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A widget that provides a list view with scrolling animation. You can set the animation for each object and other interesting features!

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on animated_list_view_scroll