ArcaneButton constructor
const
ArcaneButton({
- String? label,
- Component? child,
- Component? icon,
- Component? trailing,
- void onPressed()?,
- ButtonVariant variant = ButtonVariant.primary,
- ButtonSize size = ButtonSize.medium,
- bool disabled = false,
- bool loading = false,
- bool fullWidth = false,
- Key? key,
Implementation
const ArcaneButton({
this.label,
this.child,
this.icon,
this.trailing,
this.onPressed,
this.variant = ButtonVariant.primary,
this.size = ButtonSize.medium,
this.disabled = false,
this.loading = false,
this.fullWidth = false,
super.key,
});