CyberTabView constructor
const
CyberTabView({
- Key? key,
- required List<
CyberTab> tabs, - int initialIndex = 0,
- Color? backColorTab,
- Color? textColorTab,
- Color? selectBackColorTab,
- Color? selectTextColorTab,
- Color? indicatorColor,
- double? tabBarHeight,
- bool isScrollable = true,
- bool keepAlive = false,
- dynamic onTabChanged(
- int index
- TabBarIndicatorSize? indicatorSize,
- EdgeInsets? labelPadding,
- EdgeInsets? indicatorPadding,
- Decoration? indicator,
- bool enableFeedback = true,
- BorderRadius? tabBorderRadius,
- double? tabSpacing,
Implementation
const CyberTabView({
super.key,
required this.tabs,
this.initialIndex = 0,
this.backColorTab,
this.textColorTab,
this.selectBackColorTab,
this.selectTextColorTab,
this.indicatorColor,
this.tabBarHeight,
this.isScrollable = true,
this.keepAlive = false,
this.onTabChanged,
this.indicatorSize,
this.labelPadding,
this.indicatorPadding,
this.indicator,
this.enableFeedback = true,
this.tabBorderRadius,
this.tabSpacing,
});