Answers for "if a go to a screen I can't navigate back Flutter"

16

flutter navigate to new screen

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

Code answers related to "if a go to a screen I can't navigate back Flutter"

Browse Popular Code Answers by Language