TabItem constructor

const TabItem({
  1. required Widget title,
  2. required void onTap()?,
  3. bool tIOnTap = false,
  4. Widget? subTitle,
  5. Widget? selectedLeading,
  6. Widget? unSelectedLeading,
  7. Widget? trailing,
  8. Widget? tab,
  9. int? badgeCount = 0,
  10. List<TabItem>? children = const [],
  11. Color? color,
  12. bool? enabled,
  13. dynamic isSelected(
    1. bool
    )?,
})

Implementation

const TabItem({
  required this.title,
  required this.onTap,
  this.tIOnTap = false,
  this.subTitle,
  this.selectedLeading,
  this.unSelectedLeading,
  this.trailing,
  this.tab,
  this.badgeCount = 0,
  this.children = const [],
  this.color,
  this.enabled,
  this.isSelected,
});