notifyNow static method
void
notifyNow()
Implementation
static void notifyNow() {
AwesomeNotifications().createNotification(
content: NotificationContent(
id: 20,
channelKey: "my_channel",
body: "hello Amr",
title: "اصحى ياعلاء البيت بيولع",
backgroundColor: Colors.green,
),
actionButtons: [
NotificationActionButton(key: "1", label: "Accept"),
NotificationActionButton(key: "2", label: "Cancel"),
],
// schedule: NotificationInterval(interval: 60, repeats: true),
);
}