NiceTabNavBar constructor

const NiceTabNavBar({
  1. Key? key,
  2. required List<String> tabs,
  3. required int selectedIndex,
  4. ValueChanged<int>? onChanged,
  5. List<IconData>? icons,
  6. List<String>? badges,
  7. bool scrollable = false,
  8. EdgeInsets? padding,
  9. Color? indicatorColor,
  10. Color? selectedLabelColor,
  11. Color? unselectedLabelColor,
})

Implementation

const NiceTabNavBar({
  super.key,
  required this.tabs,
  required this.selectedIndex,
  this.onChanged,
  this.icons,
  this.badges,
  this.scrollable = false,
  this.padding,
  this.indicatorColor,
  this.selectedLabelColor,
  this.unselectedLabelColor,
});