CupertinoTabViewModifier constructor

const CupertinoTabViewModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. SingleChildWidgetBuilder? builder,
  5. GlobalKey<NavigatorState>? navigatorKey,
  6. String? defaultTitle,
  7. Map<String, WidgetBuilder>? routes,
  8. RouteFactory? onGenerateRoute,
  9. RouteFactory? onUnknownRoute,
  10. List<NavigatorObserver> navigatorObservers = const <NavigatorObserver>[],
  11. String? restorationScopeId,
})

Creates the content area for a tab in a CupertinoTabScaffold.

Implementation

const CupertinoTabViewModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.builder,
  this.navigatorKey,
  this.defaultTitle,
  this.routes,
  this.onGenerateRoute,
  this.onUnknownRoute,
  this.navigatorObservers = const <NavigatorObserver>[],
  this.restorationScopeId,
});