You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to pass the navigator key in GoRouter config but it ran to an error @singleton class AppPages { final router = GoRouter( initialLocation: Routes.home, debugLogDiagnostics: true, navigatorKey: getIt<AliceHelper>().getNavigatorKey, routes: [ GoRoute( name: Routes.home, path: Routes.home, builder: (context, state) => const CorePage(), ), GoRoute( name: Routes.anotherPage, path: Routes.anotherPage, builder: (context, state) => const AnotherPage(), ), ], ); }
I have to pass the navigator key in GoRouter config but it ran to an error
@singleton class AppPages { final router = GoRouter( initialLocation: Routes.home, debugLogDiagnostics: true, navigatorKey: getIt<AliceHelper>().getNavigatorKey, routes: [ GoRoute( name: Routes.home, path: Routes.home, builder: (context, state) => const CorePage(), ), GoRoute( name: Routes.anotherPage, path: Routes.anotherPage, builder: (context, state) => const AnotherPage(), ), ], ); }
E/flutter ( 1208): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:overlay_support/src/overlay_state_finder.dart': Failed assertion: line 12 pos 7: '_debugInitialized': Global OverlaySupport Not Initialized ! E/flutter ( 1208): ensure your app wrapped widget OverlaySupport.global E/flutter ( 1208): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61) E/flutter ( 1208): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5) E/flutter ( 1208): #2 findOverlayState (package:overlay_support/src/overlay_state_finder.dart:12:7) E/flutter ( 1208): #3 showOverlay (package:overlay_support/src/overlay.dart:63:26) E/flutter ( 1208): #4 AliceCore.showDebugAnimNotification (package:flutter_alice/core/alice_core.dart:237:5) E/flutter ( 1208): #5 AliceCore._showLocalNotification (package:flutter_alice/core/alice_core.dart:171:5) E/flutter ( 1208): #6 AliceCore._onCallsChanged (package:flutter_alice/core/alice_core.dart:87:15) E/flutter ( 1208): #7 new AliceCore._.<anonymous closure> (package:flutter_alice/core/alice_core.dart:67:55) E/flutter ( 1208): #8 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10) E/flutter ( 1208): #9 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11) E/flutter ( 1208): #10 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7) E/flutter ( 1208): #11 _MultiStreamController.addSync (dart:async/stream_impl.dart:1044:36) E/flutter ( 1208): #12 _MultiControllerSink.add (package:rxdart/src/utils/forwarding_stream.dart:130:35) E/flutter ( 1208): #13 _StartWithStreamSink.onData (package:rxdart/src/transformers/start_with.dart:12:31) E/flutter ( 1208): #14 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10) E/flutter ( 1208): #15 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11) E/flutter ( 1208): #16 _DelayedData.perform (dart:async/stream_impl.dart:515:14) E/flutter ( 1208): #17 _PendingEvents.handleNext (dart:async/stream_impl.dart:620:11) E/flutter ( 1208): #18 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:591:7) E/flutter ( 1208): #19 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) E/flutter ( 1208): #20 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) E/flutter ( 1208): I/flutter ( 1208): [🌎 Easy Localization] [DEBUG] Build I/flutter ( 1208): [🌎 Easy Localization] [DEBUG] Init Localization Delegate I/flutter ( 1208): [🌎 Easy Localization] [DEBUG] Init provider I/flutter ( 1208): I/flutter ( 1208): ╔╣ DioError ║ DioExceptionType.connectionTimeout I/flutter ( 1208): ║ The request connection took longer than 0:00:30.000000. It was aborted. I/flutter ( 1208): ╚══════════════════════════════════════════════════════════════════════════════════════════╝ I/flutter ( 1208): [🌎 Easy Localization] [WARNING] Localization key [dio_cancel_request] not found
The text was updated successfully, but these errors were encountered: