A common navigation monitoring component for Bugsnag libraries.
Typically you will configure this in you MaterialApp
, CupertinoApp
or Navigator
:
return MaterialApp(
navigatorObservers: [BugsnagNavigatorObserver()],
initialRoute: '/',
routes: {
'/': (context) => const AppHomeWidget(),