Relative Content

Tag Archive for flutterdartanimation

Flutter Animation Controller

I tried to implement list of draggable widget using GestureDetector and AnimationBuilder. But when the particular widget is removed from tree its AnimationController is assigned to next widget in list like those controllers never removed from tree after disposing that widget.
You can see in this video that after removing element from list I reset animationController of that element, but next element’s animation resets and that element’s animation status is forward to next.
Here is block of that widget which is directly called in ListView.builder.