navigateNamedTo method

Future<void> navigateNamedTo(
  1. String path, {
  2. bool includePrefixMatches = false,
  3. OnNavigationFailure? onFailure,
})

Implementation

Future<void> navigateNamedTo(String path,
        {bool includePrefixMatches = false,
        OnNavigationFailure? onFailure}) =>
    RouterScope.of(this).controller.navigateNamed(
          path,
          includePrefixMatches: includePrefixMatches,
          onFailure: onFailure,
        );