AlertProps constructor
const
AlertProps({
- required ColorVariant color,
- String? title,
- String? message,
- Widget? child,
- AlertStyle style = AlertStyle.subtle,
- Widget? icon,
- bool showIcon = true,
- bool dismissible = false,
- void onDismiss()?,
- Widget? action,
Implementation
const AlertProps({
required this.color,
this.title,
this.message,
this.child,
this.style = AlertStyle.subtle,
this.icon,
this.showIcon = true,
this.dismissible = false,
this.onDismiss,
this.action,
});