NotificationMessage constructor
NotificationMessage({
- required String content,
- String? title,
- NotificationMessageType type = NotificationMessageType.alertDialog,
- NotificationMessageLevel level = NotificationMessageLevel.error,
- FutureOr<
void> onDismiss()?,
Implementation
NotificationMessage({
required this.content,
this.title,
this.type = NotificationMessageType.alertDialog,
this.level = NotificationMessageLevel.error,
this.onDismiss,
});