Answers for "flutter replace all routes with particular route"

3

flutter clear navigation stack

Navigator.pushAndRemoveUntil(
      context,
      MaterialPageRoute(
        builder: (BuildContext context) => LoginPage(),
      ),
      (route) => false,
    );
Posted by: Guest on June-28-2020

Code answers related to "flutter replace all routes with particular route"

Code answers related to "Dart"

Browse Popular Code Answers by Language