pushNamed<T extends Object?> method
- @Deprecated('Use pushPath instead')
- String path, {
- bool includePrefixMatches = false,
- OnNavigationFailure? onFailure,
Adds corresponding page to given path
to _pages
stack
Implementation
@Deprecated('Use pushPath instead')
Future<T?> pushNamed<T extends Object?>(
String path, {
bool includePrefixMatches = false,
OnNavigationFailure? onFailure,
}) =>
pushPath<T>(
path,
includePrefixMatches: includePrefixMatches,
onFailure: onFailure,
);