AtomicIconBox constructor
const
AtomicIconBox({
- Key? key,
- required IconData icon,
- Color? iconColor,
- Color? borderColor,
- Color? backgroundColor,
- double width = 44.0,
- double height = 44.0,
- double iconSize = 18.0,
- BorderRadius? borderRadius,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- bool autoWidth = false,
- bool blur = false,
- VoidCallback? onTap,
- bool loading = false,
- bool enabled = true,
- 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,
});