showSuccess method

void showSuccess(
  1. String title, {
  2. String? body,
})

Quick success notification.

Implementation

void showSuccess(String title, {String? body}) {
  notifications.show(Notification(
    title: title,
    body: body,
    type: NotificationType.success,
  ));
}