CustomTabView constructor

CustomTabView({
  1. required int itemCount,
  2. required IndexedWidgetBuilder tabBuilder,
  3. required IndexedWidgetBuilder pageBuilder,
  4. required Color mainColor,
  5. Widget? stub,
  6. Widget? pageHeader,
  7. ValueChanged<int?>? onPositionChange,
  8. ValueChanged<double>? onScroll,
  9. EdgeInsetsGeometry? marginTop,
  10. Null callback()?,
  11. bool? isSwipeDisabled = false,
  12. bool? isTabVisible,
  13. 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,
});