flutter_bouncy
Slivers and list widgets that add a natural springy effect to their items when scrolling
Quick Features
SpringDescription
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
]
);
}