Answers for "navigator.push vs navigator.]pushedReplacement"

2

flutter navigation pushreplacement

void _completeLogin() {
  Navigator.pushReplacement(
      context, MaterialPageRoute(builder: (BuildContext context) => MyHomePage()));
}
Posted by: Guest on April-14-2020

Browse Popular Code Answers by Language