AlertBanner constructor

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

Implementation

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