IconButtonProps constructor

const IconButtonProps({
  1. required Widget icon,
  2. void onPressed()?,
  3. ColorVariant color = ColorVariant.secondary,
  4. StyleVariant style = StyleVariant.ghost,
  5. ComponentSize size = ComponentSize.md,
  6. bool disabled = false,
  7. bool loading = false,
  8. String? tooltip,
})

Implementation

const IconButtonProps({
  required this.icon,
  this.onPressed,
  this.color = ColorVariant.secondary,
  this.style = StyleVariant.ghost,
  this.size = ComponentSize.md,
  this.disabled = false,
  this.loading = false,
  this.tooltip,
});