Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception: NoSuchMethodError: The method 'findAncestorStateOfType' was called on null. #62

Open
limsocheat opened this issue Feb 24, 2021 · 0 comments

Comments

@limsocheat
Copy link

Describe the bug

[VERBOSE-2:ui_dart_state.cc(177)] Unhandled Exception: NoSuchMethodError: The method 'findAncestorStateOfType' was called on null.
Receiver: null
Tried calling: findAncestorStateOfType<NavigatorState>()
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      Navigator.of (package:flutter/src/widgets/navigator.dart:2179:40)
#2      _SplashScreenState.initState.<anonymous closure> (package:splashscreen/splashscreen.dart:180:21)
#3      _rootRunUnary (dart:async/zone.dart:1198:47)
#4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#7      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
#9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#10     _completeOnAsyncReturn (dart:async-patch/async_patch<…>

To Reproduce
Steps to reproduce the behavior:
Launch the app and see the error

Expected behavior
Should not appear any error.

Screenshots
Screen Shot 2021-02-24 at 8 51 05 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant