instabug_flutter_modular

Last updated:

0 purchases

instabug_flutter_modular Image
instabug_flutter_modular Images
Add to Cart

Description:

instabug flutter modular

Instabug Flutter Modular #


An add-on for the Instabug Flutter SDK that provides screen loading support for Flutter Modular v5.
Installation #

Add instabug_flutter_modular to your pubspec.yaml file.

dependencies:
instabug_flutter_modular:
copied to clipboard

Install the package by running the following command.

flutter pub get
copied to clipboard
Usage #

Wrap your AppParentModule inside InstabugModule:


void main() {
//...

runApp(
ModularApp(
module: InstabugModule(AppModule()),
child: const MyApp(),
),
);
}
copied to clipboard

Add InstabugNavigatorObserver to your navigation observers list:

@override
Widget build(BuildContext context) {
return MaterialApp.router(
routeInformationParser: Modular.routeInformationParser,
routerDelegate: Modular.routerDelegate
..setObservers([InstabugNavigatorObserver()]),

// ...
);
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.