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

outdated

Super Simple, Minimal, Lightweight Router.

Super Simple, Minimal, Lightweight 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 (go to Page B) #

router.push('B');

push with params #

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

back to the page #

router.pop();
0
likes
0
pub points
0%
popularity

Publisher

verified publisherflut.rbdog.biz

Super Simple, Minimal, Lightweight Router.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on ui_router