Navigator: The Navigator class

The Navigator class

Map coordinates = await Navigator.of(context).pushNamed('/location');
Navigator.of(context).pop({"lat":43.821757,"long":-79.226392});

Handles routing in Flutter and is used to get a result back from a route that you have pushed on the stack.

This is done by awaiting on the Future returned by push().

Related concepts

The Navigator class

Navigator: The Navigator class — Structure map

Clickable & Draggable!

Navigator: The Navigator class — Related pages: