AlertProps constructor
const
AlertProps({
- required AlertSeverity severity,
- String? title,
- String? message,
- Component? child,
- AlertVariant variant = AlertVariant.subtle,
- Component? icon,
- bool showIcon = true,
- bool dismissible = false,
- void onDismiss()?,
- Component? action,
Implementation
const AlertProps({
required this.severity,
this.title,
this.message,
this.child,
this.variant = AlertVariant.subtle,
this.icon,
this.showIcon = true,
this.dismissible = false,
this.onDismiss,
this.action,
});