Created
June 15, 2020 19:15
-
-
Save ookami-kb/7f5e8131c82d4bcefed6afa35becc623 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await runZoned<Future<void>>( | |
() async => runApp(app), | |
onError: _reportError, | |
); | |
FlutterError.onError = (FlutterErrorDetails details) { | |
Zone.current.handleUncaughtError(details.exception, details.stack); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment