widget that manages routes.

A route roughly maps to a Page.
The navigator works in a similar way to the Xamarin.Forms NavigationPage,
in that it can push() and pop() routes depending on
whether you want to navigate to, or back from, a view.

To navigate between pages, you have a couple options:

Specify a Map of route names. (MaterialApp)

Directly navigate to a route. (WidgetsApp)

The following example builds a Map.

Navigate to a route by pushing its name to the Navigator.

The Navigator is a stack that manages your app’s routes.
Pushing a route to the stack moves to that route.
Popping a route from the stack, returns to the previous route.
This is done by awaiting on the Future returned by push().

async/await is very similar to the .NET implementation
and is explained in more detail in Async UI.