flutter_dropdown_menu
flutter_dropdown_menu copied to clipboard
_ElementLifecycle.defunct': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=BUG.md
When the exception was thrown, this was the stack:
2 Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:3641:12)
3 State.setState (package:flutter/src/widgets/framework.dart:1161:14)
4 _DropdownMenuState._handleShow (package:dropdown_menu/_src/dropdown_menu.dart:316:5)
5 _DropdownMenuState.onShow (package:dropdown_menu/_src/dropdown_menu.dart:310:12)
6 _DropdownMenuState.onEvent (package:dropdown_menu/_src/dropdown_menu.dart:355:11)
7 DropdownState._onController (package:dropdown_menu/_src/drapdown_common.dart:189:5)
8 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:206:21)
9 DropdownMenuController.show (package:dropdown_menu/_src/drapdown_common.dart:39:5)
10 _DropdownHeaderState.buildItem.
The DropdownMenuController sending notification was: Instance of 'DropdownMenuController'