clearAll static method
Implementation
static void clearAll({BuildContext? context}) {
final state = navigatorState(context);
while (state?.canPop() == true) {
state?.pop();
}
}
static void clearAll({BuildContext? context}) {
final state = navigatorState(context);
while (state?.canPop() == true) {
state?.pop();
}
}