TodayAlert constructor

const TodayAlert({
  1. required TodayAlertStatus status,
  2. Key? key,
  3. String? label,
  4. String? description,
  5. TodayAlertType type = TodayAlertType.inline,
  6. TodaySvgIcon icon = TodaySvgIcon.alert,
  7. TodayButton? primaryButton,
  8. TodayLink? secondaryButton,
  9. bool dismissible = true,
  10. bool hasStroke = false,
  11. bool iconColor = true,
  12. Function? onDismiss,
})

Implementation

const TodayAlert({
  required this.status,
  super.key,
  this.label,
  this.description,
  this.type = TodayAlertType.inline,
  this.icon = TodaySvgIcon.alert,
  this.primaryButton,
  this.secondaryButton,
  this.dismissible = true,
  this.hasStroke = false,
  this.iconColor = true,
  this.onDismiss,
});