reorderables icon indicating copy to clipboard operation
reorderables copied to clipboard

Add animations when inserting or removing items from the lists

Open tmaihoff opened this issue 5 years ago • 9 comments

I miss the feature that items not only animate when being reordered but also when entering and leaving the list.

Is this possible?

tmaihoff avatar Jun 23 '19 08:06 tmaihoff

Hey! Did you manage to get this working? Does anyone have any pointers about how to implement this?

JonathanSiddle avatar Sep 04 '19 08:09 JonathanSiddle

This library has the capability to animate when item is deleted: https://github.com/fluttercandies/flutter_draggable_container

But the main problem is, afaik, there is no capability to remove item manually.

I'm stick to use reorderables library for now, though the animation is nice to have.

joielechong avatar Nov 13 '19 11:11 joielechong

@hanshengchiu any updates??

RaviKavaiya avatar Jul 31 '20 07:07 RaviKavaiya

@RaviKavaiya hey, check out this package, it does exactely this.

https://pub.dev/packages/implicitly_animated_reorderable_list

tmaihoff avatar Jul 31 '20 08:07 tmaihoff

@Tiebo that is good. But, that package doesn't work with Slivers..

RaviKavaiya avatar Jul 31 '20 08:07 RaviKavaiya

I also like this feature. Now, flutter has a lot of animation list components, including SliverAnimatedList, AnimatedList. Can it be updated so that we can insert data and delete data in animation?

@hanshengchiu

SF-Simon avatar Dec 09 '20 04:12 SF-Simon

I also like this feature. Now, flutter has a lot of animation list components, including SliverAnimatedList, AnimatedList. Can it be updated so that we can insert data and delete data in animation?

@hanshengchiu

@HeebeLee do you know how to do it?

hanshengchiu avatar Dec 11 '20 14:12 hanshengchiu

I also like this feature. Now, flutter has a lot of animation list components, including SliverAnimatedList, AnimatedList. Can it be updated so that we can insert data and delete data in animation? @hanshengchiu

@HeebeLee do you know how to do it?

No, I don't know what to do. Because it requires a lot of familiarity with the two components, which is a little too hard for me.

I think it should be easier for you. Maybe you can find ideas in the AnimatedList. If you can, please take some time to finish it. Thank you.

SF-Simon avatar Dec 11 '20 14:12 SF-Simon

Maybe you could try to replace the base class with SliverAnimatedList. I'm not sure if it's gonna work.

hanshengchiu avatar Dec 11 '20 15:12 hanshengchiu