Button.warning constructor
const
Button.warning({
- String? label,
- ArcaneGlyph? icon,
- ButtonIconPosition iconPosition = ButtonIconPosition.leading,
- void onPressed()?,
- ArcaneInteraction? action,
- ButtonSize size = ButtonSize.medium,
- bool disabled = false,
- bool loading = false,
- bool fullWidth = false,
- Map<
String, String> ? attributes, - String? id,
- ButtonType type = ButtonType.button,
- String? href,
- ArcaneStyleData? styles,
- ArcaneDecoration? decoration,
- Key? key,
Implementation
const Button.warning({
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.warning;