TabButton constructor
TabButton({
- required IconProvider icon,
- Color? color,
- Color? hoverColor,
- Color? disabledColor,
- BoxDecoration? background,
- BoxDecoration? hoverBackground,
- BoxDecoration? disabledBackground,
- VoidCallback? onPressed,
- String? toolTip,
- EdgeInsetsGeometry? padding,
- double? iconSize,
Implementation
TabButton(
{required this.icon,
this.color,
this.hoverColor,
this.disabledColor,
this.background,
this.hoverBackground,
this.disabledBackground,
this.onPressed,
this.menuBuilder,
this.toolTip,
this.padding,
double? iconSize})
: this.iconSize = iconSize == null
? iconSize
: TabbedViewThemeConstants.normalize(iconSize);