TabItem constructor
const
TabItem({
- Key? key,
- String label = 'Label',
- bool hasLabel = true,
- bool hasIcon = false,
- IconData? icon = Icons.face_5_outlined,
- Widget? iconWidget,
- bool isSelected = false,
- TabItemType type = TabItemType.gray,
- VoidCallback? onTap,
Creates a TabItem instance.
Implementation
const TabItem({
super.key,
this.label = 'Label',
this.hasLabel = true,
this.hasIcon = false,
this.icon = Icons.face_5_outlined,
this.iconWidget,
this.isSelected = false,
this.type = TabItemType.gray,
this.onTap,
});