ArcaneAlert.warning constructor
const
ArcaneAlert.warning({
- String? title,
- String? message,
- Widget? child,
- AlertStyle variant = AlertStyle.subtle,
- Widget? icon,
- bool showIcon = true,
- bool dismissible = false,
- void onDismiss()?,
- Widget? action,
- ArcaneStyleData? styles,
- ArcaneDecoration? decoration,
- Key? key,
Implementation
const ArcaneAlert.warning({
this.title,
this.message,
this.child,
this.variant = AlertStyle.subtle,
this.icon,
this.showIcon = true,
this.dismissible = false,
this.onDismiss,
this.action,
this.styles,
this.decoration,
super.key,
}) : color = ColorVariant.warning;