go_router_modular 4.0.0 copy "go_router_modular: ^4.0.0" to clipboard
go_router_modular: ^4.0.0 copied to clipboard

go_router wrapper with a modular twist dependency injections and automatic dispose

example/lib/main.dart

import 'package:example/src/app_widget.dart';
import 'package:flutter/material.dart';
import 'package:go_router_modular/go_router_modular.dart';
import 'src/app_module.dart';

Future<void> main() async {
  await Modular.configure(
    appModule: AppModule(),
    initialRoute: '/',
    debugLogDiagnostics: true,
    debugLogDiagnosticsGoRouter: true,
  );

  runApp(const AppWidget());
}
31
likes
0
points
387
downloads

Publisher

unverified uploader

Weekly Downloads

go_router wrapper with a modular twist dependency injections and automatic dispose

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

event_bus, flutter, go_router

More

Packages that depend on go_router_modular