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

outdated

Super Simple, Minimal, Lightweight Router. Easy to use and organize the pages on your application.

Header

Super Simple Router #

https://pub.dev/packages/ui_router

router #

final router = UiRouter(
  initialPageId: 'A',
  pages: [
    UiPage(
      id: 'A',
      build: (params) => PageA(),
    ),
    UiPage(
      id: 'B',
      build: (params) => PageB(params['message']),
    ),
  ],
);

widget #

router.widget()

push #

router.push('B');

push with params #

router.push('B', params: {'message': 'HELLO😁'});

back to the page #

router.pop();

✨ Using Navigator 2.0 ✨

0
likes
0
pub points
0%
popularity

Publisher

verified publisherflut.rbdog.biz

Super Simple, Minimal, Lightweight Router. Easy to use and organize the pages on your application.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on ui_router