TodayModal constructor

const TodayModal({
  1. String? title,
  2. String? description,
  3. TodayIcon? titleIcon,
  4. bool showHeader = true,
  5. bool hideHeaderLine = false,
  6. bool showClose = true,
  7. double? width,
  8. double? height,
  9. Widget? content,
  10. bool showFooter = true,
  11. Widget? primaryAction,
  12. Widget? secondaryAction,
  13. MainAxisAlignment footerAlignment = MainAxisAlignment.spaceBetween,
  14. TodayModalStyle style = TodayModalStyle.alert,
  15. TodayModalType type = TodayModalType.success,
  16. 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,
});