AtomicIconBox constructor

const AtomicIconBox({
  1. Key? key,
  2. required IconData icon,
  3. Color? iconColor,
  4. Color? borderColor,
  5. Color? backgroundColor,
  6. double width = 44.0,
  7. double height = 44.0,
  8. double iconSize = 18.0,
  9. BorderRadius? borderRadius,
  10. EdgeInsetsGeometry? margin,
  11. EdgeInsetsGeometry? padding,
  12. bool autoWidth = false,
  13. bool blur = false,
  14. VoidCallback? onTap,
  15. bool loading = false,
  16. bool enabled = true,
  17. AtomicIconBoxShadow shadow = AtomicIconBoxShadow.none,
})

Implementation

const AtomicIconBox({
  super.key,
  required this.icon,
  this.iconColor,
  this.borderColor,
  this.backgroundColor,
  this.width = 44.0,
  this.height = 44.0,
  this.iconSize = 18.0,
  this.borderRadius,
  this.margin,
  this.padding,
  this.autoWidth = false,
  this.blur = false,
  this.onTap,
  this.loading = false,
  this.enabled = true,
  this.shadow = AtomicIconBoxShadow.none,
});