AppIconButton constructor
const
AppIconButton({
- Key? key,
- required IconData icon,
- VoidCallback? onPressed,
- Color? iconColor,
- Color? bgColor,
- double? size,
- double? iconSize,
- double? radius,
- EdgeInsetsGeometry? padding,
- String? tooltip,
- bool enabled = true,
- BorderSide? side,
- double? elevation,
- bool enableDebounce = true,
- Duration debounceDuration = const Duration(milliseconds: 300),
- String? semanticLabel,
- bool? enableSecurity,
Implementation
const AppIconButton({
super.key,
required this.icon,
this.onPressed,
this.iconColor,
this.bgColor,
this.size,
this.iconSize,
this.radius,
this.padding,
this.tooltip,
this.enabled = true,
this.side,
this.elevation,
this.enableDebounce = true,
this.debounceDuration = const Duration(milliseconds: 300),
this.semanticLabel,
this.enableSecurity,
});