NotificationMessage constructor

NotificationMessage({
  1. required String content,
  2. String? title,
  3. NotificationMessageType type = NotificationMessageType.alertDialog,
  4. NotificationMessageLevel level = NotificationMessageLevel.error,
  5. FutureOr<void> onDismiss()?,
})

Implementation

NotificationMessage({
  required this.content,
  this.title,
  this.type = NotificationMessageType.alertDialog,
  this.level = NotificationMessageLevel.error,
  this.onDismiss,
});