ArcaneButton constructor
const
ArcaneButton({
- String? label,
- Component? child,
- Component? icon,
- Component? trailing,
- void onPressed()?,
- ButtonStyle? style,
- @Deprecated('Use style parameter instead') ButtonVariant? variant,
- 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.style,
@Deprecated('Use style parameter instead') this.variant,
this.size = ButtonSize.medium,
this.disabled = false,
this.loading = false,
this.fullWidth = false,
super.key,
});