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