navToNamedAndRemoveUntil method

void navToNamedAndRemoveUntil(
  1. String routeName,
  2. RoutePredicate predicate, {
  3. Object? arguments,
  4. ValueChanged<Object?>? onResult,
})

Implementation

void navToNamedAndRemoveUntil(
  String routeName,
  RoutePredicate predicate, {
  Object? arguments,
  ValueChanged<Object?>? onResult,
}) {
  this.sendAction(
    NavigationCubeAction.pushNamedAndRemoveUntil(
      routeName: routeName,
      arguments: arguments,
      predicate: predicate,
      onResult: onResult,
    ),
  );
}