Answers for "Flutter: Move to a new screen without back"

0

Flutter: Move to a new screen without back

Navigator.pushReplacement(
  context,
  MaterialPageRoute(builder: (context) => MainPage()),
  (Route<dynamic> route) => false,
);
Posted by: Guest on May-15-2021

Code answers related to "Flutter: Move to a new screen without back"

Browse Popular Code Answers by Language