ColorTab constructor

ColorTab({
  1. required List<(Color, String)> tabs,
  2. int selectedIndex = 0,
  3. Color textColor = Colors.white,
  4. double fontSize = 14,
  5. bool colorReverse = false,
  6. required dynamic onSelectTab(
    1. int index
    ),
})

Implementation

ColorTab({
  required this.tabs,
  this.selectedIndex = 0,
  this.textColor = Colors.white,
  this.fontSize = 14,
  this.colorReverse = false,
  required this.onSelectTab,
});