PhoenixTabView constructor
const
PhoenixTabView({
- Key? key,
- required Map<
String, String> tabs, - required Widget builder(
- BuildContext context,
- String id
- int currentIndex = 0,
- void onTabChange(
- int index
- Color? indicatorColor,
- Color? labelColor,
- Color? unselectedLabelColor,
- TextStyle? labelStyle,
- TextStyle? unselectedLabelStyle,
- TabController? tabController,
Implementation
const PhoenixTabView({
Key? key,
required this.tabs,
required this.builder,
this.currentIndex = 0,
this.menuBackgroundColor,
this.menuPadding,
this.onTabChange,
this.indicatorColor,
this.labelColor,
this.unselectedLabelColor,
this.labelStyle,
this.unselectedLabelStyle,
this.tabController,
}) : super(key: key);