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

how to fix this issue? #78

Open
Dilshan97 opened this issue May 4, 2020 · 0 comments
Open

how to fix this issue? #78

Dilshan97 opened this issue May 4, 2020 · 0 comments

Comments

@Dilshan97
Copy link

Dilshan97 commented May 4, 2020

Performing hot restart...
Syncing files to device AOSP on IA Emulator...
Restarted application in 2,610ms.
E/flutter (27247): [ERROR:flutter/shell/common/shell.cc(199)] Dart Error: Unhandled exception:
E/flutter (27247): Looking up a deactivated widget's ancestor is unsafe.
E/flutter (27247): At this point the state of the widget's element tree is no longer stable.
E/flutter (27247): To safely refer to a widget's ancestor in its dispose() method, save a reference to the ancestor by calling dependOnInheritedWidgetOfExactType() in the widget's didChangeDependencies() method.
E/flutter (27247): #0 Element._debugCheckStateIsActiveForAncestorLookup. (package:flutter/src/widgets/framework.dart:3508:9)
E/flutter (27247): #1 Element._debugCheckStateIsActiveForAncestorLookup (package:flutter/src/widgets/framework.dart:3522:6)
E/flutter (27247): #2 Element.findAncestorStateOfType (package:flutter/src/widgets/framework.dart:3641:12)
E/flutter (27247): #3 Navigator.of (package:flutter/src/widgets/navigator.dart:1492:19)
E/flutter (27247): #4 _CustomSplashState.build. (package:custom_splash/custom_splash.dart:122:23)
E/flutter (27247): #5 _RootZone.runUnary (dart:async/zone.dart:1381:54)
E/flutter (27247): #6 _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
E/flutter (27247): #7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
E/flutter (27247): #8 Future._propagateToListeners (dart:async/future_impl.dart:709:32)
E/flutter (27247): #9 Future._complete (dart:async/future_impl.dart:514:7)
E/flutter (27247): #10 new Future.delayed. (dart:async/future.dart:313:16)
E/flutter (27247): #11 Timer._createTimer. (dart:async-patch/timer_patch.dart:23:15)
E/flutter (27247): #12 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter (27247): #13 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter (27247): #14 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

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