ArcaneButton.accent constructor

const ArcaneButton.accent({
  1. String? label,
  2. Component? child,
  3. Component? icon,
  4. Component? trailing,
  5. void onPressed()?,
  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. String? href,
  13. bool showArrow = false,
  14. Key? key,
})

Accent variant with gradient background. Useful for prominent CTA buttons.

Implementation

const ArcaneButton.accent({
  this.label,
  this.child,
  this.icon,
  this.trailing,
  this.onPressed,
  this.size = ButtonSize.medium,
  this.disabled = false,
  this.loading = false,
  this.fullWidth = false,
  this.attributes,
  this.id,
  this.href,
  this.showArrow = false,
  super.key,
}) : variant = ButtonVariant.accent;