Skip to content

Instantly share code, notes, and snippets.

@termosa
Created May 22, 2019 06:20
Show Gist options
  • Save termosa/58956850e862422bb5c5a5003b4d4a6e to your computer and use it in GitHub Desktop.
Save termosa/58956850e862422bb5c5a5003b4d4a6e to your computer and use it in GitHub Desktop.
[An Introduction to Flutter: The Interface] Navigator pushNamed method
NavigatorState navigator = Navigator.of(context);
navigator.pushNamed('/sub');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment