AtomicAlert constructor

const AtomicAlert({
  1. Key? key,
  2. required String text,
  3. String? subtitle,
  4. IconData? icon,
  5. AtomicAlertVariant variant = AtomicAlertVariant.info,
  6. bool closable = false,
  7. VoidCallback? onClose,
  8. 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,
});