-
I am using animated list to show a real time notification history on my app. I use subscriptions to open a web socket and get updates realtime.
This is the widget that contains the list
```
voi…
-
Consider the following program:
```dart
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
class MessageList extends StatefulWidget {
@override
Messag…
-
From URL: https://www.flutterchina.club/catalog/samples/animated_list.md
codeblock line 15 ListModel _list;
Non-nullable instance field '_list' must be initialized. (Documentation) Try adding an in…
-
-
## Steps to Reproduce
```dart
class Relationships extends StatefulWidget {
@override
State createState() {
// TODO: implement createState
return _ViewPostState();
}
}
class …
-
```dart
new ListView(
children: [
new Text("Sometext"),
new AnimatedList(
key: _listKey,
initialItemCount: _list.length,
itemBuilder: _buildItem,
),
],
);
…
-
I was staring at the screenshot on https://flutter.io/catalog/samples/animated-list/ for minutes waiting for it to move and show me the awesome animation of animated lists. Turns out, the screenshot i…
-
When I want to animate my AnimatedList with removeItem method in horizontal direction, is not working the animation of the list. When I use vertical direction is working perfect with removeItem but th…
-
AnimatedList uses a pattern we know is bad: it provides the scroll view. This means, for example, that there's no way to combine the AnimatedList with a SliverGrid.
We should refactor AnimatedList …
Hixie updated
3 years ago
-
Hi! AnimatedList is too complicated when lots of things are going on. I rather have the component being fed the model and that the animated list itself decides what to do with it, ie what items are go…