onTapRoute method
Route to a new page.
Implementation
InkWell onTapRoute(String routeName,
{dynamic data,
Map<String, dynamic>? queryParameters,
NavigationType navigationType = NavigationType.push,
dynamic result,
bool Function(Route<dynamic> route)? removeUntilPredicate,
PageTransitionSettings? pageTransitionSettings,
PageTransitionType? pageTransition,
Function(dynamic value)? onPop}) {
return InkWell(
onTap: () async {
await routeTo(routeName,
data: data,
queryParameters: queryParameters,
navigationType: navigationType,
result: result,
removeUntilPredicate: removeUntilPredicate,
pageTransitionSettings: pageTransitionSettings,
pageTransition: pageTransition,
onPop: onPop);
},
child: this,
splashColor: Colors.transparent,
hoverColor: Colors.transparent,
focusColor: Colors.transparent,
);
}