bosskmk / pluto_menu_bar

A menu bar for flutter.
https://pluto.weblaze.dev
MIT License
85 stars 25 forks source link

issues when click child menu #1

Open selvam920 opened 2 years ago

selvam920 commented 2 years ago

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 commented 2 years ago

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?