Navigation

Routes, a Hero that flies between pages, a page that returns a value, and the Pages API.

A picture of the app

Open in its own page Source of this app

The navigation of Glutter on a WidgetsApp, without Material. The home page has two tabs.

What to try#

  • On the first tab, click the thumbnail. It is a Hero: it flies to the detail page, which slides in through a custom route.
  • Follow Pick a color. That page returns a value, which the home page reads from the channel of NavigatorPush.
  • On the second tab, Push page adds a page to a list of pages, and the Back link of a page removes it again.
  • Use the keyboard: Tab and Shift+Tab move between the links, Enter or Space follows the focused link, and Escape goes back.