TTabs constructor

const TTabs({
  1. Key? key,
  2. required List<TTab> tabs,
  3. int? selectedIndex,
  4. ValueChanged<int>? 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.selectedIndex,
  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,
});