FastTabs constructor

const FastTabs({
  1. Key? key,
  2. required List<Tab> tabs,
  3. required List<Widget> views,
  4. bool isViewScrollable = true,
  5. int initialIndex = 0,
  6. Color? unselectedLabelColor,
  7. TextStyle? unselectedLabelStyle,
  8. double? indicatorWeight,
  9. Color? indicatorColor,
  10. Color? labelColor,
  11. TextStyle? labelStyle,
})

Implementation

const FastTabs({
  Key? key,
  required this.tabs,
  required this.views,
  this.isViewScrollable = true,
  this.initialIndex = 0,
  this.unselectedLabelColor,
  this.unselectedLabelStyle,
  this.indicatorWeight,
  this.indicatorColor,
  this.labelColor,
  this.labelStyle,
}) : super(key: key);