scheduleNotification method
void
scheduleNotification(
- TZDateTime time
Implementation
void scheduleNotification(timezone.TZDateTime time) async {
await FlutterLocalNotificationsPlugin().zonedSchedule(
_id,
'Time is up',
"Proceed to the next step",
time,
platformChannelSpecifics,
androidAllowWhileIdle: true,
uiLocalNotificationDateInterpretation:
UILocalNotificationDateInterpretation.absoluteTime,
);
}