Answers for "navigator.push to next page flutter"

16

Flutter Navigator to new page

// Within the `FirstRoute` widget
onPressed: () {
  Navigator.push(
    context,
    MaterialPageRoute(builder: (context) => SecondRoute()),
  );
}
Posted by: Guest on March-25-2020

Code answers related to "navigator.push to next page flutter"

Browse Popular Code Answers by Language