TTabs constructor

const TTabs({
  1. Key? key,
  2. required TabController controller,
  3. required List<String> tabs,
  4. required dynamic onTabSelected(
    1. int
    ),
  5. int initialIndex = 0,
  6. Color? backgroundColor,
  7. Color? activeColor,
  8. Color? inactiveColor,
  9. Color? activeTextColor,
  10. Color? inactiveTextColor,
})

Implementation

const TTabs({
  super.key,
  required this.controller,
  required this.tabs,
  required this.onTabSelected,
  this.initialIndex = 0,
  this.backgroundColor,
  this.activeColor,
  this.inactiveColor,
  this.activeTextColor,
  this.inactiveTextColor,
});