AutoTabsRouterPageView constructor
const
AutoTabsRouterPageView({
- Key? key,
- required List<
PageRouteInfo> routes, - TabsPageViewBuilder? builder,
- int homeIndex = -1,
- Axis scrollDirection = Axis.horizontal,
- bool animatePageTransition = true,
- Duration duration = kTabScrollDuration,
- Curve curve = Curves.easeInOut,
- ScrollPhysics? physics,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
Implementation
const AutoTabsRouterPageView({
Key? key,
required List<PageRouteInfo> routes,
TabsPageViewBuilder? builder,
int homeIndex = -1,
this.scrollDirection = Axis.horizontal,
this.animatePageTransition = true,
this.duration = kTabScrollDuration,
this.curve = Curves.easeInOut,
this.physics,
this.dragStartBehavior = DragStartBehavior.start,
bool inheritNavigatorObservers = true,
NavigatorObserversBuilder navigatorObservers =
NestedRouterDelegate.defaultNavigatorObserversBuilder,
}) : _pageViewModeBuilder = builder,
super._(
key: key,
routes: routes,
homeIndex: homeIndex,
navigatorObservers: navigatorObservers,
inheritNavigatorObservers: inheritNavigatorObservers,
);