TodayAlert constructor
const
TodayAlert({
- required TodayAlertStatus status,
- Key? key,
- String? label,
- String? description,
- TodayAlertType type = TodayAlertType.inline,
- TodaySvgIcon icon = TodaySvgIcon.alert,
- TodayButton? primaryButton,
- TodayLink? secondaryButton,
- bool dismissible = true,
- bool hasStroke = false,
- bool iconColor = true,
- 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,
});