DavideBelsole / great_list_view

pub.dev library for flutter
MIT License
41 stars 22 forks source link

[Feature request] Support `move` item in `AnimatedSliverList` #6

Closed bahung1221 closed 3 years ago

bahung1221 commented 3 years ago

Hi,

I think this is a known issue because I found this line in your code: https://github.com/DavideBelsole/great_list_view/blob/cde1a52b7665000629ddbc9298cf00e9b851b40f/lib/src/animated_list_dispatcher.dart#L255-L257

Currently, when I programmatically change the position of an item to a new position, two animations occurred:

I think it will be awesome and more convenient if the item is moving from the old position to the new position just like the reorderable drag behavior.

If you don't have time to implement this feature, I can help with a PR but please give me some advice and direction on this feature.

Thanks 🍻

DavideBelsole commented 3 years ago

Hi, this is not a bug. The "move" feature is not supported yet. This package is in an alpha version. This feature will be available in the future. Thanks