Animated list views, automatically.
Autolist transforms regular dart lists them into a fully animated list views, automatically managing insertions and deletions.
Add into pubspec.yaml
...
dependencies:
...
autolist:
git:
url: https://github.com/hienlh/autolist.git
ref: v1.0.0
...
See more in example/lib/main.dart
AutoList<int>(
items: _items,
duration: Duration(milliseconds: 400),
itemBuilder: (context, item) {
return Row(
children: <Widget>[
Expanded(
child: Container(
padding: EdgeInsets.all(20),
decoration: BoxDecoration(
border: Border(
top: BorderSide(),
),
),
child: Text(
item.toString(),
key: Key(item.toString()),
),
),
),
],
);
},
)