CustomTabView constructor
CustomTabView({
- required int itemCount,
- required IndexedWidgetBuilder tabBuilder,
- required IndexedWidgetBuilder pageBuilder,
- required Color mainColor,
- Widget? stub,
- Widget? pageHeader,
- ValueChanged<
int?> ? onPositionChange, - ValueChanged<
double> ? onScroll, - EdgeInsetsGeometry? marginTop,
- Null callback()?,
- bool? isSwipeDisabled = false,
- bool? isTabVisible,
- int? currentPosition,
Implementation
CustomTabView({
required this.itemCount,
required this.tabBuilder,
required this.pageBuilder,
required this.mainColor,
this.stub,
this.pageHeader,
this.onPositionChange,
this.onScroll,
this.marginTop,
this.callback,
this.isSwipeDisabled = false,
this.isTabVisible,
this.currentPosition,
});