navigateNamed method
Implementation
Future<void> navigateNamed(
String path, {
bool includePrefixMatches = false,
OnNavigationFailure? onFailure,
}) {
final scope = _findPathScopeOrReportFailure<RoutingController>(
path,
includePrefixMatches: includePrefixMatches,
onFailure: onFailure,
);
if (scope != null) {
return scope.router._navigateAll(
scope.matches,
);
}
return SynchronousFuture(null);
}