Button.link constructor

const Button.link({
  1. String? label,
  2. ArcaneGlyph? icon,
  3. ButtonIconPosition iconPosition = ButtonIconPosition.leading,
  4. void onPressed()?,
  5. ArcaneInteraction? action,
  6. ButtonSize size = ButtonSize.medium,
  7. bool disabled = false,
  8. bool loading = false,
  9. bool fullWidth = false,
  10. Map<String, String>? attributes,
  11. String? id,
  12. ButtonType type = ButtonType.button,
  13. String? href,
  14. ArcaneStyleData? styles,
  15. ArcaneDecoration? decoration,
  16. Key? key,
})

Implementation

const Button.link({
  this.label,
  this.icon,
  this.iconPosition = ButtonIconPosition.leading,
  this.onPressed,
  this.action,
  this.size = ButtonSize.medium,
  this.disabled = false,
  this.loading = false,
  this.fullWidth = false,
  this.attributes,
  this.id,
  this.type = ButtonType.button,
  this.href,
  this.styles,
  this.decoration,
  super.key,
}) : variant = ButtonVariant.link;