Answers for "replace(context, oldRoute: f, newRoute: null) fvlutter"

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