AppIconButton constructor
const
AppIconButton({
- Key? key,
- required IconData icon,
- required VoidCallback? onPressed,
- AppIconButtonVariant variant = AppIconButtonVariant.standard,
- String? tooltip,
- double? size,
- Color? color,
- bool enabled = true,
- Color? backgroundColor,
- double? borderRadius,
- Color? borderColor,
- double? borderWidth,
- EdgeInsetsGeometry? padding,
- double? elevation,
- Color? shadowColor,
- Color? hoverColor,
- Color? focusColor,
- Color? highlightColor,
Creates an icon button.
Implementation
const AppIconButton({
super.key,
required this.icon,
required this.onPressed,
this.variant = AppIconButtonVariant.standard,
this.tooltip,
this.size,
this.color,
this.enabled = true,
this.backgroundColor,
this.borderRadius,
this.borderColor,
this.borderWidth,
this.padding,
this.elevation,
this.shadowColor,
this.hoverColor,
this.focusColor,
this.highlightColor,
});