ArcaneIconButton constructor

const ArcaneIconButton({
  1. required Component icon,
  2. void onPressed()?,
  3. IconButtonStyle style = IconButtonStyle.ghost,
  4. IconButtonSize size = IconButtonSize.medium,
  5. bool disabled = false,
  6. bool loading = false,
  7. String? tooltip,
  8. Key? key,
})

Implementation

const ArcaneIconButton({
  required this.icon,
  this.onPressed,
  this.style = IconButtonStyle.ghost,
  this.size = IconButtonSize.medium,
  this.disabled = false,
  this.loading = false,
  this.tooltip,
  super.key,
});