AppIconButton constructor

const AppIconButton({
  1. Key? key,
  2. required IconData icon,
  3. VoidCallback? onPressed,
  4. Color? iconColor,
  5. Color? bgColor,
  6. double? size,
  7. double? iconSize,
  8. double? radius,
  9. EdgeInsetsGeometry? padding,
  10. String? tooltip,
  11. bool enabled = true,
  12. BorderSide? side,
  13. double? elevation,
  14. bool enableDebounce = true,
  15. Duration debounceDuration = const Duration(milliseconds: 300),
  16. String? semanticLabel,
  17. 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,
});