Flutter: Convert AnimatedList to a sliver

Created on 21 Jul 2017  ·  3Comments  ·  Source: flutter/flutter

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 to be a SliverAnimatedList.

cc @HansMuller

scrolling framework team

Most helpful comment

I'd love to have an AnimatedGrid to build things like this:

https://github.com/ollija/react-native-sortable-grid

All 3 comments

I'd love to have an AnimatedGrid to build things like this:

https://github.com/ollija/react-native-sortable-grid

//cc @HansMuller

We should re-apply https://github.com/flutter/flutter/pull/28834, which adds a SliverAnimatedList, but was reverted due to a merge conflict.

@passsy that sounds like a separate feature request. You probably want to file a new feature request for that.

Was this page helpful?
0 / 5 - 0 ratings