IconButtonProps constructor

const IconButtonProps({
  1. required Component icon,
  2. void onPressed()?,
  3. IconButtonVariant variant = IconButtonVariant.ghost,
  4. IconButtonSize size = IconButtonSize.medium,
  5. bool disabled = false,
  6. bool loading = false,
  7. String? tooltip,
})

Implementation

const IconButtonProps({
  required this.icon,
  this.onPressed,
  this.variant = IconButtonVariant.ghost,
  this.size = IconButtonSize.medium,
  this.disabled = false,
  this.loading = false,
  this.tooltip,
});