PhoenixTabView constructor

const PhoenixTabView({
  1. Key? key,
  2. required Map<String, String> tabs,
  3. required Widget builder(
    1. BuildContext context,
    2. String id
    ),
  4. int currentIndex = 0,
  5. Color? menuBackgroundColor,
  6. EdgeInsets? menuPadding,
  7. void onTabChange(
    1. int index
    )?,
  8. Color? indicatorColor,
  9. Color? labelColor,
  10. Color? unselectedLabelColor,
  11. TextStyle? labelStyle,
  12. TextStyle? unselectedLabelStyle,
  13. 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);