flutter_bouncy 1.0.1
flutter_bouncy: ^1.0.1 copied to clipboard

Scrolling with bouncy and natural item movement

flutter_bouncy #

Logo

Slivers and list widgets that add a natural springy effect to their items when scrolling

Quick Features #

↕️  Horizontal and vertical scroll direction support

🧠  Sliver implementations for use in existing CustomScrollView's

⛓  Customizable spring/bounce settings with Flutter's SpringDescription

👻  Includes an animated bouncy list that works exactly the same as AnimatedList

Examples #

How to use #

For use in a CustomScrollView use SliverBouncyList/SliverAnimatedBouncyList. The api is orthogonal to the SliverList/SliverAnimatedList

@override
Widget build(BuildContext context) {
  return CustomScrollView(
    slivers: [
       SliverBouncyList(
        delegate: SliverChildListDelegate(
          [
            // Children here
          ],
        ),
      );
    ],
  );
}

If you don't need the Sliver versions then you can just use BouncyList/AnimatedBouncyList. The api is orthogonal to ListView/AnimatedListView

@override
Widget build(BuildContext context) {
  return BouncyList(
    children: [
      // Children here
    ]
  );
}

5
likes
100
pub points
68%
popularity

Scrolling with bouncy and natural item movement

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

parker.stromberg@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_bouncy