FancyTabs constructor
const
FancyTabs({})
Implementation
const FancyTabs({
super.key,
required this.tabs,
required this.pages,
this.selectedColor = Colors.deepPurple,
this.unselectedColor = Colors.grey,
this.indicatorColor = Colors.deepPurple,
this.indicatorHeight = 4.0,
this.selectedTextStyle,
this.unselectedTextStyle,
}) : assert(tabs.length == pages.length, 'Tabs and pages must be the same length');