casvanluijtelaar / reorderable_grid

A Flutter inplementation of the reorderable grid UI pattern, closely mimics Flutters exisiting ReorderableList

Home Page:https://pub.dev/packages/reorderable_grid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically animate on list update.

renannery opened this issue · comments

commented

It would be really nice if the drag/drop animation could be triggered when the list gets updated, not only with a long press and dragging and dropping an item.

For example:

Original list: [1, 2, 3, 4, 5, 6]

Grid:
[1, 2, 3]
[4, 5, 6]

List updated: [1, 2, 4, 5, 6] (item 3 removed in the backend)

Grid:
[1, 2, 4]
[5, 6]

The list gets updated just fine, but without any animation.
I'll look at your code to see how can we implement this.

Similar to #1 where I elaborted. If you want to look into it, please do!