navigateTo method
dynamic
navigateTo({
Route to a new page.
Implementation
navigateTo(
{dynamic data,
Map<String, dynamic>? queryParameters,
NavigationType navigationType = NavigationType.push,
dynamic result,
bool Function(Route<dynamic> route)? removeUntilPredicate,
PageTransitionSettings? pageTransitionSettings,
PageTransitionType? pageTransitionType,
Function(dynamic value)? onPop}) {
return routeTo(name,
data: data,
queryParameters: queryParameters,
navigationType: navigationType,
result: result,
removeUntilPredicate: removeUntilPredicate,
pageTransitionSettings: pageTransitionSettings,
pageTransitionType: pageTransitionType,
onPop: onPop);
}