navigateNamed method

  1. @Deprecated('Use navigatePath instead')
Future<void> navigateNamed(
  1. String path, {
  2. bool includePrefixMatches = false,
  3. OnNavigationFailure? onFailure,
})

Pops until given path, if it already exists in stack

Implementation

@Deprecated('Use navigatePath instead')
Future<void> navigateNamed(
  String path, {
  bool includePrefixMatches = false,
  OnNavigationFailure? onFailure,
}) =>
    navigatePath(
      path,
      includePrefixMatches: includePrefixMatches,
      onFailure: onFailure,
    );