TTabView<T> constructor

const TTabView<T>({
  1. Key? key,
  2. required List<TTab<T>> tabs,
  3. TTabController<T>? controller,
  4. T? initialValue,
  5. Color? borderColor,
  6. Color? selectedColor,
  7. Color? unselectedColor,
  8. Color? disabledColor,
  9. Color? indicatorColor,
  10. EdgeInsets? tabPadding,
  11. double? indicatorWidth,
  12. bool inline = false,
  13. Axis axis = Axis.horizontal,
  14. bool scrollable = false,
  15. bool showNavigationButtons = true,
  16. bool wrap = false,
  17. Widget tabBuilder(
    1. BuildContext context,
    2. TTab<T> tab,
    3. bool isSelected
    )?,
  18. Color? navigationButtonColor,
  19. Color? navigationButtonBackgroundColor,
})

Creates a tab view widget.

Implementation

const TTabView({
  super.key,
  required this.tabs,
  this.controller,
  this.initialValue,
  this.borderColor,
  this.selectedColor,
  this.unselectedColor,
  this.disabledColor,
  this.indicatorColor,
  this.tabPadding,
  this.indicatorWidth,
  this.inline = false,
  this.axis = Axis.horizontal,
  this.scrollable = false,
  this.showNavigationButtons = true,
  this.wrap = false,
  this.tabBuilder,
  this.navigationButtonColor,
  this.navigationButtonBackgroundColor,
});