offAll<T> static method

Future<T?> offAll<T>(
  1. BuildContext context,
  2. Widget page(), [
  3. Object? arguments
])

Clears the complete previous stack.

Implementation

static Future<T?> offAll<T>(
  BuildContext context,
  Widget Function() page, [
  Object? arguments,
]) => pushUntil<T>(context, page, (_) => false, arguments);