TodayModal constructor
const
TodayModal({
- String? title,
- String? description,
- TodayIcon? titleIcon,
- bool showHeader = true,
- bool hideHeaderLine = false,
- bool showClose = true,
- double? width,
- double? height,
- Widget? content,
- Widget? primaryAction,
- Widget? secondaryAction,
- TodayModalStyle style = TodayModalStyle.alert,
- TodayModalType type = TodayModalType.success,
- Function? onClose,
Implementation
const TodayModal({
this.title,
this.description,
this.titleIcon,
this.showHeader = true,
this.hideHeaderLine = false,
this.showClose = true,
this.width,
this.height,
this.content,
this.showFooter = true,
this.primaryAction,
this.secondaryAction,
this.footerAlignment = MainAxisAlignment.spaceBetween,
this.style = TodayModalStyle.alert,
this.type = TodayModalType.success,
this.onClose,
});