Answers for "how to clear navigation stack in flutter when restart app"

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 navigation stack in flutter when restart app"

Code answers related to "Dart"

Browse Popular Code Answers by Language