TxTabBarView constructor

const TxTabBarView({
  1. required List<Widget> tabs,
  2. required Widget body,
  3. Key? key,
  4. TabController? controller,
  5. EdgeInsetsGeometry? padding,
  6. EdgeInsetsGeometry? tabBarPadding,
  7. Color? indicatorColor,
  8. double indicatorWeight = 0.0,
  9. EdgeInsetsGeometry indicatorPadding = EdgeInsets.zero,
  10. UnderlineTabIndicator? indicator,
  11. bool automaticIndicatorColorAdjustment = true,
  12. TabBarIndicatorSize? indicatorSize,
  13. Color? labelColor,
  14. Color? unselectedLabelColor,
  15. TextStyle? labelStyle,
  16. TextStyle? unselectedLabelStyle,
  17. EdgeInsetsGeometry? labelPadding,
  18. ValueChanged<int>? onTap,
  19. BoxDecoration? decoration,
  20. BoxDecoration? unSelectedTabDecoration,
  21. 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);