Open joshipucher opened 3 years ago
With the new stable version of flutter (1.22.0), I get the following error whenever I click a SearchableDropdown. Only if I downgrade e.g. to version 1.17.5., it worked again.
[ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: 'package:flutter/src/widgets/navigator.dart': Failed assertion: line 3499 pos 12: '!_debugLocked': is not true. E/flutter ( 5818): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39) E/flutter ( 5818): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5) E/flutter ( 5818): #2 NavigatorState.push package:flutter/…/widgets/navigator.dart:3499 E/flutter ( 5818): #3 showGeneralDialog package:flutter/…/widgets/routes.dart:1813 E/flutter ( 5818): #4 showDialog package:flutter/…/material/dialog.dart:937 E/flutter ( 5818): #5 _SearchableDropdownState.build.<anonymous closure> package:searchable_dropdown/searchable_dropdown.dart:540 E/flutter ( 5818): #6 _InkResponseState._handleTap package:flutter/…/material/ink_well.dart:992 E/flutter ( 5818): #7 _InkResponseState.build.<anonymous closure> package:flutter/…/material/ink_well.dart:1098 E/flutter ( 5818): #8 GestureRecognizer.invokeCallback package:flutter/…/gestures/recognizer.dart:184 E/flutter ( 5818): #9 TapGestureRecognizer.handleTapUp package:flutter/…/gestures/tap.dart:524 E/flutter ( 5818): #10 BaseTapGestureRecognizer._checkUp package:flutter/…/gestures/tap.dart:284 E/flutter ( 5818): #11 BaseTapGestureRecognizer.handlePrimaryPointer package:flutter/…/gestures/tap.dart:219 E/flutter ( 5818): #12 PrimaryPointerGestureRecognizer.handleEvent package:flutter/…/gestures/recognizer.dart:477 E/flutter ( 5818): #13 PointerRouter._dispatch package:flutter/…/gestures/pointer_router.dart:78 E/flutter ( 5818): #14 PointerRouter._dispatchEventToRoutes.<anonymous closure> package:flutter/…/gestures/pointer_router.dart:124 E/flutter ( 5818): #15 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8) E/flutter ( 5818): #16 PointerRouter._dispatchEventToRoutes package:flutter/…/gestures/pointer_router.dart:122 E/flutter ( 5818): #17 PointerRouter.route package:flutter/…/gestures/pointer_router.dart:108 E/flutter ( 5818): #18 GestureBinding.handleEvent package:flutter/…/gestures/binding.dart:220 E/flutter ( 5818): #19 GestureBinding.dispatchEvent package:flutter/…/gestures/binding.dart:200 E/flutter ( 5818): #20 GestureBinding._handlePointerEvent package:flutter/…/gestures/binding.dart:158 E/flutter ( 5818): #21 GestureBinding._flushPointerEventQueue package:flutter/…/gestures/binding.dart:104 E/flutter ( 5818): #22 GestureBinding._handlePointerDataPacket package:flutter/…/gestures/binding.dart:88 E/flutter ( 5818): #23 _rootRunUnary (dart:async/zone.dart:1206:13) E/flutter ( 5818): #24 _CustomZone.runUnary (dart:async/zone.dart:1100:19) E/flutter ( 5818): #25 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7) E/flutter ( 5818): #26 _invoke1 (dart:ui/hooks.dart:267:10) E/flutter ( 5818): #27 _dispatchPointerDataPacket (dart:ui/hooks.dart:176:5)
With the new stable version of flutter (1.22.0), I get the following error whenever I click a SearchableDropdown. Only if I downgrade e.g. to version 1.17.5., it worked again.