UiIconButton constructor

const UiIconButton({
  1. Key? key,
  2. required Color backgroundColor,
  3. required Icon icon,
  4. required VoidCallback onPressed,
  5. double size = 48,
  6. double iconSize = 24,
  7. Color? iconColor,
  8. double elevation = 2,
  9. Color? borderColor,
  10. double borderWidth = 2,
})

Implementation

const UiIconButton({
  super.key,
  required this.backgroundColor,
  required this.icon,
  required this.onPressed,
  this.size = 48,
  this.iconSize = 24,
  this.iconColor,
  this.elevation = 2,
  this.borderColor,
  this.borderWidth = 2,
});