{"repo":"tomgilder/routemaster","free":true,"listed":false,"github":"https://github.com/tomgilder/routemaster","clone":"git clone https://github.com/tomgilder/routemaster.git","description":"Easy-to-use Navigator 2.0 router for web, mobile and desktop. URL-based routing, simple navigation of tabs and nested routes.","language":"Dart","stars":331,"topics":["flutter","flutter-package","flutter-routing","flutter-router","navigation"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Routemaster Hello! Routemaster is an easy-to-use router for Flutter, which wraps over Flutter's Router API. Features Simple declarative mapping from URLs to pages Easy-to-use API: just Routemaster.of(context).push('/page') Really easy nested navigation support for tabs Multiple route maps: for example one for a logged in user, another for logged out Observers to easily listen to route changes Covered by over 250 unit, widget and integration tests Here's the entire routing setup needed for an app featuring tabs and pushed routes: And then to navigate: ...you can see this in action in this simple app example. There's also a more advanced example. I would love any feedback you have! Please create an issue for API feedback. Documentation Begin with the quick start below, but also see the API reference, wiki and FAQs. Quick start API tour Overview Routing Tabs Cupertino tabs Guarded routes 404 Page Redirect Swap routing map Navigation observers Navigate without a context Hero animations Overview Routemaster generates pages based on the current path. This is the key concept of its path-base routing. Path structure matters. It uses the path to decide where a page should be pushed. This means the path needs to match your intended page hierarchy. For example: Any child paths that begin with /tabs/one or /tabs/two will be pushed into the correct tab. When navigating to /tabs/two/subpage , the TabPage will be asked \"hey, do you know how to handle this path?\" and it'll go \"sure! it start","default_branch":null,"files":null,"tree":[],"storefront":"/r/tomgilder","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tomgilder/routemaster/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}