binding_router 1.0.2 copy "binding_router: ^1.0.2" to clipboard
binding_router: ^1.0.2 copied to clipboard

outdated

Binding router is a router that extends from go_router and getx used for binding dependancies.

Binding Router Plugin #

Make implementation with go router and get x binding efficiency.

Examples #

Here are small examples that show you how to use binding router.

Coding #


 final router = GoRouter(routes: [
  BindingRouter(
    HomeController(),
    path: "/",
    page: (context, state) => const HomePage(),
  ),
  BindingRouter<TestController>(
    TestController(),
    binding: HomeBinding(),
    path: "/detail",
    page: (context, state) => const DetailPage(),
  ),
]);

2
likes
0
points
50
downloads

Publisher

unverified uploader

Weekly Downloads

Binding router is a router that extends from go_router and getx used for binding dependancies.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, get, go_router

More

Packages that depend on binding_router