Answers for "material routing remove all using named flutter"

1

How to remove all routes in flutter

Navigator.of(context).pushAndRemoveUntil(MaterialPageRoute(builder: (context) =>
    LoginScreen()), (Route<dynamic> route) => false),
Posted by: Guest on September-29-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language