qlevar_router 0.3.5 copy "qlevar_router: ^0.3.5" to clipboard
qlevar_router: ^0.3.5 copied to clipboard

outdated

Manage you project Routes. Create nested routes. Simply navigation without context to your pages. Change only one sub widget in your page when navigating to new route.

Qlevar Router (QR) #

likes popularity pub points

// Define your routes
class AppRoutes{
  static String homePage ='Home Page';
  static String userPage ='User Page';
  final routes =<QRouteBase>[
    QRoute(name: homePage, path:'/', page:(c)=> HomePage()),
    QRoute(name: userPage, path:'/user/:userId', page:(c)=> UserPage()),
  ]
}

// Create your app
MaterialApp.router(
      routerDelegate: QR.router(AppRoutes().routes),
      routeInformationParser: QR.routeParser())

// from anywhere in your code navigate to new page with
QR.toName(AppRoutes.userPage, param:{'userId':2});
// or
QR.to('/user/2');

Demo #

Show Demo

Learn more #

Wiki

Qlevar router is flutter package to help you with managing your project routing, navigation, deep linking, route arguments etc ... With Navigator2.0 Manage your project routes and create nested routes. Update only one widget in your page when navigating to new route. Simply navigation without context to your page.

The most cool feature for this package is Nested Routing - Widget Update or see all Features

155
likes
0
pub points
90%
popularity

Publisher

verified publisherqlevar.de

Manage you project Routes. Create nested routes. Simply navigation without context to your pages. Change only one sub widget in your page when navigating to new route.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on qlevar_router