TabItem constructor

const TabItem({
  1. Key? key,
  2. String label = 'Label',
  3. bool isSelected = false,
  4. TabItemType type = TabItemType.gray,
  5. VoidCallback? onTap,
})

Creates a TabItem instance.

Implementation

const TabItem({
  super.key,
  this.label = 'Label',
  this.isSelected = false,
  this.type = TabItemType.gray,
  this.onTap,
});