showQuick method
Future<void>
showQuick(
- String title, {
- String? body,
- NotificationType type = NotificationType.info,
Convenience method — creates and shows a simple notification.
Implementation
Future<void> showQuick(
String title, {
String? body,
NotificationType type = NotificationType.info,
}) async {
final notification = AppNotification(
id: _generateId(),
type: type,
title: title,
body: body,
);
await show(notification);
}