ArcaneButton constructor

const ArcaneButton({
  1. String? label,
  2. Component? child,
  3. Component? icon,
  4. Component? trailing,
  5. void onPressed()?,
  6. ButtonStyle? style,
  7. @Deprecated('Use style parameter instead') ButtonVariant? variant,
  8. ButtonSize size = ButtonSize.medium,
  9. bool disabled = false,
  10. bool loading = false,
  11. bool fullWidth = false,
  12. Key? key,
})

Implementation

const ArcaneButton({
  this.label,
  this.child,
  this.icon,
  this.trailing,
  this.onPressed,
  this.style,
  @Deprecated('Use style parameter instead') this.variant,
  this.size = ButtonSize.medium,
  this.disabled = false,
  this.loading = false,
  this.fullWidth = false,
  super.key,
});