Answers for "how to clear all backstack in flutter"

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 "how to clear all backstack in flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language