IconButton constructor

const IconButton({
  1. required Widget icon,
  2. void onPressed()?,
  3. ArcaneInteraction? action,
  4. ButtonVariant variant = ButtonVariant.ghost,
  5. ButtonSize size = ButtonSize.icon,
  6. bool disabled = false,
  7. bool loading = false,
  8. String? href,
  9. Key? key,
})

Implementation

const IconButton({
  required this.icon,
  this.onPressed,
  this.action,
  this.variant = ButtonVariant.ghost,
  this.size = ButtonSize.icon,
  this.disabled = false,
  this.loading = false,
  this.href,
  super.key,
});