bataa07 / animated_toast_list

Anyone who uses this package will feel more free. Because this package is generic, you can create the toast you want.
MIT License
2 stars 2 forks source link

```Error: AnimationController.dispose() called more than once.``` #7

Closed bataa07 closed 2 years ago

bataa07 commented 2 years ago

Error when removing the last item:

Uncaught (in promise) Error: AnimationController.dispose() called more than once.
A given AnimationController cannot be disposed more than once.
The following AnimationController object was disposed multiple times:
  AnimationController#e3a6b(⏮ 0.000; paused; DISPOSED)
    at Object.throw_ [as throw] (errors.dart:266:49)
    at animation_controller.dart:798:9
    at animation_controller.AnimationController.new.dispose (animation_controller.dart:808:14)
    at animated_list.dart:598:55
    at _RootZone.runUnary (zone.dart:1653:54)
    at _FutureListener.then.handleValue (future_impl.dart:147:18)
    at handleValueCallback (future_impl.dart:766:44)
    at _Future._propagateToListeners (future_impl.dart:795:13)
    at [_completeWithValue] (future_impl.dart:566:5)
    at async._AsyncCallbackEntry.new.callback (future_impl.dart:639:7)
    at Object._microtaskLoop (schedule_microtask.dart:40:11)
    at _startMicrotaskLoop (schedule_microtask.dart:49:5)
    at async_patch.dart:166:15