AtomicAlert constructor
const
AtomicAlert({
- Key? key,
- required String text,
- String? subtitle,
- IconData? icon,
- AtomicAlertVariant variant = AtomicAlertVariant.info,
- bool closable = false,
- VoidCallback? onClose,
- EdgeInsetsGeometry? margin,
Implementation
const AtomicAlert({
super.key,
required this.text,
this.subtitle,
this.icon,
this.variant = AtomicAlertVariant.info,
this.closable = false,
this.onClose,
this.margin,
});