DanUIIconButton constructor
const
DanUIIconButton({
- Key? key,
- required Widget icon,
- dynamic onPressed()?,
- Color? color,
- Color? iconColor,
- Size? size,
- double? iconSize,
- double borderRadius = 8,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry margin = EdgeInsets.zero,
- double elevation = 0,
- BorderSide? side,
- OutlinedBorder? shape,
Implementation
const DanUIIconButton({
super.key,
required this.icon,
this.onPressed,
this.color,
this.iconColor,
this.size,
this.iconSize,
this.borderRadius = 8,
this.padding,
this.margin = EdgeInsets.zero,
this.elevation = 0,
this.side,
this.shape,
});