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

issues when click child menu #1

Open
selvam920 opened this issue Dec 9, 2021 · 1 comment
Open

issues when click child menu #1

selvam920 opened this issue Dec 9, 2021 · 1 comment

Comments

@selvam920
Copy link

ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Looking up a deactivated widget's ancestor is unsafe.
At this point the state of the widget's element tree is no longer stable.
To safely refer to a widget's ancestor in its dispose() method, save a reference to the ancestor by calling dependOnInheritedWidgetOfExactType() in the widget's didChangeDependencies() method.
#0 Element._debugCheckStateIsActiveForAncestorLookup.
package:flutter/…/widgets/framework.dart:4001
#1 Element._debugCheckStateIsActiveForAncestorLookup
package:flutter/…/widgets/framework.dart:4015
#2 Element.findAncestorStateOfType
package:flutter/…/widgets/framework.dart:4062

@bosskmk
Copy link
Owner

bosskmk commented Dec 9, 2021

I can't tell what kind of error it is just by looking at your error.
Can you attach the minimum source code to reproduce the error?

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

2 participants