AlertProps constructor

const AlertProps({
  1. required ColorVariant color,
  2. String? title,
  3. String? message,
  4. Widget? child,
  5. AlertStyle style = AlertStyle.subtle,
  6. Widget? icon,
  7. bool showIcon = true,
  8. bool dismissible = false,
  9. void onDismiss()?,
  10. Widget? action,
})

Implementation

const AlertProps({
  required this.color,
  this.title,
  this.message,
  this.child,
  this.style = AlertStyle.subtle,
  this.icon,
  this.showIcon = true,
  this.dismissible = false,
  this.onDismiss,
  this.action,
});