UFUIconButton constructor

const UFUIconButton({
  1. Key? key,
  2. Color? backgroundColor,
  3. double? borderRadius = 8,
  4. IconData? icon = Icons.add,
  5. double? iconSize = 18,
  6. Color? iconColor,
  7. Color? highlightColor,
  8. Widget? iconWidget,
  9. VoidCallback? onTap,
  10. VoidCallback? onLongPress,
  11. bool isDisabled = false,
})

Implementation

const UFUIconButton({
  super.key,
  this.backgroundColor,
  this.borderRadius = 8,
  this.icon = Icons.add,
  this.iconSize = 18,
  this.iconColor,
  this.highlightColor,
  this.iconWidget,
  this.onTap,
  this.onLongPress,
  this.isDisabled = false
});