TTabs<T> constructor

const TTabs<T>({
  1. Key? key,
  2. required List<TTab<T>> tabs,
  3. T? selectedValue,
  4. ValueChanged<T>? onTabChanged,
  5. Color? borderColor,
  6. Color? selectedColor,
  7. Color? unselectedColor,
  8. Color? disabledColor,
  9. Color? indicatorColor,
  10. EdgeInsets? tabPadding = const EdgeInsets.symmetric(vertical: 5, horizontal: 16),
  11. double? indicatorWidth = 1,
  12. bool inline = false,
})

Implementation

const TTabs({
  super.key,
  required this.tabs,
  this.selectedValue,
  this.onTabChanged,
  this.borderColor,
  this.selectedColor,
  this.unselectedColor,
  this.disabledColor,
  this.indicatorColor,
  this.tabPadding = const EdgeInsets.symmetric(vertical: 5, horizontal: 16),
  this.indicatorWidth = 1,
  this.inline = false,
});