ButtonProps constructor

const ButtonProps({
  1. String? label,
  2. Widget? child,
  3. Widget? icon,
  4. Widget? trailing,
  5. void onPressed()?,
  6. ArcaneInteraction? action,
  7. ButtonVariant variant = ButtonVariant.primary,
  8. ButtonSize size = ButtonSize.md,
  9. bool disabled = false,
  10. bool loading = false,
  11. bool fullWidth = false,
  12. String? id,
  13. Map<String, String>? attributes,
  14. String? href,
  15. bool showArrow = false,
})

Implementation

const ButtonProps({
  this.label,
  this.child,
  this.icon,
  this.trailing,
  this.onPressed,
  this.action,
  this.variant = ButtonVariant.primary,
  this.size = ButtonSize.md,
  this.disabled = false,
  this.loading = false,
  this.fullWidth = false,
  this.id,
  this.attributes,
  this.href,
  this.showArrow = false,
});