AuiAlert constructor

const AuiAlert({
  1. Key? key,
  2. AlertVariant variant = AlertVariant.info,
  3. String? title,
  4. String? description,
  5. IconData? icon,
  6. VoidCallback? onDismiss,
  7. Widget? action,
  8. bool showIcon = true,
})

Creates an AuiAlert with full parameter control.

Implementation

const AuiAlert({
  super.key,
  this.variant = AlertVariant.info,
  this.title,
  this.description,
  this.icon,
  this.onDismiss,
  this.action,
  this.showIcon = true,
});