TabLayout constructor
const
TabLayout({
- Key? key,
- TabLayoutController? controller,
- int? flex,
- bool? activated,
- bool? enabled,
- bool? visibility,
- double? dimensionRatio,
- double? width,
- double? widthMax,
- double? widthMin,
- double? height,
- double? heightMax,
- double? heightMin,
- double? margin,
- double? marginHorizontal,
- double? marginVertical,
- double? marginTop,
- double? marginBottom,
- double? marginStart,
- double? marginEnd,
- double? padding,
- double? paddingHorizontal,
- double? paddingVertical,
- double? paddingTop,
- double? paddingBottom,
- double? paddingStart,
- double? paddingEnd,
- double? borderSize,
- double? borderHorizontal,
- double? borderVertical,
- double? borderTop,
- double? borderBottom,
- double? borderStart,
- double? borderEnd,
- double? borderRadius,
- double? borderRadiusBL,
- double? borderRadiusBR,
- double? borderRadiusTL,
- double? borderRadiusTR,
- double? shadow,
- double? shadowBlurRadius,
- double? shadowSpreadRadius,
- double? shadowHorizontal,
- double? shadowVertical,
- double? shadowStart,
- double? shadowEnd,
- double? shadowTop,
- double? shadowBottom,
- Color? background,
- Color? foreground,
- Color? borderColor,
- Color? shadowColor,
- Alignment? gravity,
- Alignment? transformGravity,
- BlendMode? backgroundBlendMode,
- BlendMode? foregroundBlendMode,
- DecorationImage? backgroundImage,
- DecorationImage? foregroundImage,
- Gradient? backgroundGradient,
- Gradient? foregroundGradient,
- Gradient? borderGradient,
- Matrix4? transform,
- BlurStyle? shadowBlurStyle,
- Clip? clipBehavior,
- ViewPosition? position,
- ViewPositionType? positionType,
- ViewShadowType? shadowType,
- ViewShape? shape,
- required TabController tabController,
- ViewPagerController? pagerController,
- List<
TabItem> ? tabs, - double? tabIconSize,
- ValueState<
double> ? tabIconSizeState, - double? tabIconSpace,
- Color? tabIconTint,
- ValueState<
Color> ? tabIconTintState, - Color? tabContentColor,
- ValueState<
Color> ? tabContentColorState, - double? tabTitleSize,
- ValueState<
double> ? tabTitleSizeState, - FontWeight? tabTitleWeight,
- ValueState<
FontWeight> ? tabTitleWeightState, - Decoration? tabIndicator,
- Color? tabIndicatorColor,
- bool? tabIndicatorFullWidth,
- double? tabIndicatorHeight,
- bool? tabInlineLabel,
- double? tabMargin,
- double? tabMarginStart,
- double? tabMarginEnd,
- double? tabMarginTop,
- double? tabMarginBottom,
- double? tabMarginHorizontal,
- double? tabMarginVertical,
- double? tabPadding,
- double? tabPaddingStart,
- double? tabPaddingEnd,
- double? tabPaddingTop,
- double? tabPaddingBottom,
- double? tabPaddingHorizontal,
- double? tabPaddingVertical,
- TabMode? tabMode,
- bool onVisibleIconWhenTabSelected(
- bool selected
- bool onVisibleTitleWhenTabSelected(
- bool selected
Implementation
const TabLayout({
super.key,
super.controller,
super.flex,
super.activated,
super.enabled,
super.visibility,
super.dimensionRatio,
super.width,
super.widthMax,
super.widthMin,
super.height,
super.heightMax,
super.heightMin,
super.margin,
super.marginHorizontal,
super.marginVertical,
super.marginTop,
super.marginBottom,
super.marginStart,
super.marginEnd,
super.padding,
super.paddingHorizontal,
super.paddingVertical,
super.paddingTop,
super.paddingBottom,
super.paddingStart,
super.paddingEnd,
super.borderSize,
super.borderHorizontal,
super.borderVertical,
super.borderTop,
super.borderBottom,
super.borderStart,
super.borderEnd,
super.borderRadius,
super.borderRadiusBL,
super.borderRadiusBR,
super.borderRadiusTL,
super.borderRadiusTR,
super.shadow,
super.shadowBlurRadius,
super.shadowSpreadRadius,
super.shadowHorizontal,
super.shadowVertical,
super.shadowStart,
super.shadowEnd,
super.shadowTop,
super.shadowBottom,
super.background,
super.foreground,
super.borderColor,
super.shadowColor,
super.gravity,
super.transformGravity,
super.backgroundBlendMode,
super.foregroundBlendMode,
super.backgroundImage,
super.foregroundImage,
super.backgroundGradient,
super.foregroundGradient,
super.borderGradient,
super.transform,
super.shadowBlurStyle,
super.clipBehavior,
super.position,
super.positionType,
super.shadowType,
super.shape,
required this.tabController,
this.pagerController,
this.tabs,
this.tabIconSize,
this.tabIconSizeState,
this.tabIconSpace,
this.tabIconTint,
this.tabIconTintState,
this.tabContentColor,
this.tabContentColorState,
this.tabTitleSize,
this.tabTitleSizeState,
this.tabTitleWeight,
this.tabTitleWeightState,
this.tabIndicator,
this.tabIndicatorColor,
this.tabIndicatorFullWidth,
this.tabIndicatorHeight,
this.tabInlineLabel,
this.tabMargin,
this.tabMarginStart,
this.tabMarginEnd,
this.tabMarginTop,
this.tabMarginBottom,
this.tabMarginHorizontal,
this.tabMarginVertical,
this.tabPadding,
this.tabPaddingStart,
this.tabPaddingEnd,
this.tabPaddingTop,
this.tabPaddingBottom,
this.tabPaddingHorizontal,
this.tabPaddingVertical,
this.tabMode,
this.onVisibleIconWhenTabSelected,
this.onVisibleTitleWhenTabSelected,
});