Question : flutter navigate to new screen
Answered by : prickly-puffin-4r02yq6wom6i
// Within the `FirstRoute` widget
onPressed: () { Navigator.push( context, MaterialPageRoute(builder: (context) => SecondRoute()), );
}
Source : https://flutter.dev/docs/cookbook/navigation/navigation-basics | Last Update : Wed, 01 Apr 20
Question : go to another page flutter
Answered by : sore-starling-4pjdfolcey5v
onPressed: () { Navigator.push( context, MaterialPageRoute(builder: (context) => SecondRoute()), );
}
Source : | Last Update : Mon, 31 May 21
Question : navigate push to another page flutter
Answered by : kalyan
Navigator.push( context, MaterialPageRoute(builder: (context) => SecondScreen()), );
Source : | Last Update : Thu, 03 Feb 22