CLIconButton constructor

const CLIconButton({
  1. Key? key,
  2. required dynamic onTap(),
  3. IconData? iconData,
  4. Widget? hugeIcon,
  5. Color? backgroundColor,
  6. Color? iconColor,
  7. double? size,
  8. double? iconSize,
  9. List<BoxShadow>? boxShadow,
  10. BoxBorder? border,
  11. double? borderRadius,
  12. String? tooltip,
  13. bool enabled = true,
  14. bool? loading,
  15. String? semanticLabel,
  16. bool haptic = true,
})

Implementation

const CLIconButton({
  super.key,
  required this.onTap,
  this.iconData,
  this.hugeIcon,
  this.backgroundColor,
  this.iconColor,
  this.size,
  this.iconSize,
  this.boxShadow,
  this.border,
  this.borderRadius,
  this.tooltip,
  this.enabled = true,
  this.loading,
  this.semanticLabel,
  this.haptic = true,
});