TabItem constructor

const TabItem({
  1. required Widget title,
  2. required void onTap()?,
  3. Widget? subTitle,
  4. Widget? selectedLeadingIcon,
  5. Widget? unSelectedLeadingIcon,
  6. Widget? trailingIcon,
  7. Widget? tab,
  8. int? badgeCount = 0,
  9. Color? color,
  10. bool useTIOnTap = false,
  11. List<TabItem>? children = const [],
})

Implementation

const TabItem({
  required this.title,
  required this.onTap,
  this.subTitle,
  this.selectedLeadingIcon,
  this.unSelectedLeadingIcon,
  this.trailingIcon,
  this.tab,
  this.badgeCount = 0,
  this.color,
  this.useTIOnTap = false,
  this.children = const [],
});