AlertBanner.warning constructor

const AlertBanner.warning({
  1. required String message,
  2. String? title,
  3. Component? icon,
  4. Component? action,
  5. bool dismissible = false,
  6. void onDismiss()?,
  7. bool filled = false,
  8. Key? key,
})

Warning alert

Implementation

const AlertBanner.warning({
  required this.message,
  this.title,
  this.icon,
  this.action,
  this.dismissible = false,
  this.onDismiss,
  this.filled = false,
  super.key,
}) : variant = AlertVariant.warning;