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