Answers for "flutter multipage websites"

16

multi page app flutter

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

multi page app flutter

// Within the SecondRoute widget
onPressed: () {
  Navigator.pop(context);
}
Posted by: Guest on March-01-2021

Browse Popular Code Answers by Language