Answers for "flutter push and replace"

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