Skip to content

Instantly share code, notes, and snippets.

@Nash0x7E2
Created March 17, 2018 03:30
Show Gist options
  • Save Nash0x7E2/2c6623c9d03c89e690b2d38e1f844726 to your computer and use it in GitHub Desktop.
Save Nash0x7E2/2c6623c9d03c89e690b2d38e1f844726 to your computer and use it in GitHub Desktop.
onPressed: () => Navigator.of(context).pushNamedAndRemoveUntil('/', (Route<dynamic> route) => false )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment