Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnimationController.animateTo() called after AnimationController.dispose() #14

Open
bingxiheart opened this issue Jan 22, 2021 · 0 comments

Comments

@bingxiheart
Copy link

════════ Exception caught by foundation library ════════════════════════════════════════════════════
The following assertion was thrown while dispatching notifications for LeftScrollStatus:
AnimationController.animateTo() called after AnimationController.dispose()
AnimationController methods should not be used after calling dispose.
'package:flutter/src/animation/animation_controller.dart':
Failed assertion: line 513 pos 7: '_ticker != null'

When the exception was thrown, this was the stack:
#2 AnimationController.animateTo (package:flutter/src/animation/animation_controller.dart:513:7)
#3 CupertinoLeftScrollState.close (package:left_scroll_actions/cupertinoLeftScroll.dart:268:27)
#4 CupertinoLeftScrollState.handleChange (package:left_scroll_actions/cupertinoLeftScroll.dart:110:7)
#5 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:226:25)
#6 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:292:5)
...
The LeftScrollStatus sending notification was: LeftScrollStatus#18e11(false)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant