DanUIIconButton constructor

const DanUIIconButton({
  1. Key? key,
  2. required Widget icon,
  3. dynamic onPressed()?,
  4. Color? color,
  5. Color? iconColor,
  6. Size? size,
  7. double? iconSize,
  8. double borderRadius = 8,
  9. EdgeInsetsGeometry? padding,
  10. EdgeInsetsGeometry margin = EdgeInsets.zero,
  11. double elevation = 0,
  12. BorderSide? side,
  13. 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,
});