TxTabBarView constructor
const
TxTabBarView({
- required List<
Widget> tabs, - required Widget body,
- Key? key,
- TabController? controller,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? tabBarPadding,
- Color? indicatorColor,
- double indicatorWeight = 0.0,
- EdgeInsetsGeometry indicatorPadding = EdgeInsets.zero,
- UnderlineTabIndicator? indicator,
- bool automaticIndicatorColorAdjustment = true,
- TabBarIndicatorSize? indicatorSize,
- Color? labelColor,
- Color? unselectedLabelColor,
- TextStyle? labelStyle,
- TextStyle? unselectedLabelStyle,
- EdgeInsetsGeometry? labelPadding,
- ValueChanged<
int> ? onTap, - BoxDecoration? decoration,
- BoxDecoration? unSelectedTabDecoration,
- double? heightDifference,
Implementation
const TxTabBarView({
required super.tabs,
required this.body,
super.key,
super.controller,
EdgeInsetsGeometry? padding,
EdgeInsetsGeometry? tabBarPadding,
super.indicatorColor,
super.indicatorWeight = 0.0,
super.indicatorPadding,
super.indicator,
super.automaticIndicatorColorAdjustment,
super.indicatorSize,
super.labelColor,
super.unselectedLabelColor,
super.labelStyle,
super.unselectedLabelStyle,
super.labelPadding,
super.onTap,
this.decoration,
this.unSelectedTabDecoration,
this.heightDifference,
}) : _padding = padding,
super(padding: tabBarPadding);