Skip to content

Instantly share code, notes, and snippets.

@slamdon
Created February 9, 2020 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slamdon/3ba9d57c1e03a8e929f8aea2a2269975 to your computer and use it in GitHub Desktop.
Save slamdon/3ba9d57c1e03a8e929f8aea2a2269975 to your computer and use it in GitHub Desktop.
Navigator
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => MemberDetailPage(),
// Pass the arguments as part of the RouteSettings. The
// DetailScreen reads the arguments from these settings.
settings: RouteSettings(
arguments: names[index],
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment