-
Notifications
You must be signed in to change notification settings - Fork 87
Description
After update the latest version, use same logic with new changes, I get this error when dropdown opened and I go to another page , in previous version used same logic but I don't have this issue
The following assertion was thrown while finalizing the widget tree:
You have popped the last page off of the stack, there are no pages left to show
'package:go_router/src/delegate.dart':
Failed assertion: line 119 pos 7: 'currentConfiguration.isNotEmpty'
When the exception was thrown, this was the stack:
salim-lachdhaf/dropdown_search#2 GoRouterDelegate._debugAssertMatchListNotEmpty (package:go_router/src/delegate.dart:119:7)
salim-lachdhaf/dropdown_search#3 GoRouterDelegate._completeRouteMatch. (package:go_router/src/delegate.dart:165:7)
salim-lachdhaf/dropdown_search#4 GoRouterDelegate._completeRouteMatch (package:go_router/src/delegate.dart:167:6)
salim-lachdhaf/dropdown_search#5 GoRouterDelegate._handlePopPageWithRouteMatch (package:go_router/src/delegate.dart:135:7)
salim-lachdhaf/dropdown_search#6 _CustomNavigatorState._handlePopPage (package:go_router/src/builder.dart:416:42)
salim-lachdhaf/dropdown_search#7 NavigatorState.pop (package:flutter/src/widgets/navigator.dart:5357:28)
salim-lachdhaf/dropdown_search#8 Navigator.pop (package:flutter/src/widgets/navigator.dart:2665:27)
salim-lachdhaf/dropdown_search#9 DropdownSearchPopupState.closePopup (package:dropdown_search/src/widgets/dropdown_search_popup.dart:781:34)
salim-lachdhaf/dropdown_search#10 DropdownSearchState.dispose (package:dropdown_search/dropdown_search.dart:773:34)
salim-lachdhaf/dropdown_search#11 StatefulElement.unmount (package:flutter/src/widgets/framework.dart:5826:11)
465 more
(elided 2 frames from class _AssertionError)