tabPage method

AppRoute<dynamic, TabRouteArgs> tabPage(
  1. String route, {
  2. String? name,
  3. required WidgetHandler<dynamic, TabRouteArgs> handler,
})

Creates an AppPageRoute definition whose arguments are Map<String, dynamic>

Implementation

AppRoute<dynamic, TabRouteArgs> tabPage(
  String route, {
  String? name,
  required WidgetHandler<dynamic, TabRouteArgs> handler,
}) =>
    defineWithParams<dynamic, TabRouteArgs>(
      route,
      handler: handler,
      name: name,
      paramConverter: TabRouteArgs.of,
    );