scheduleDailyNotification method
Future<void>
scheduleDailyNotification(
- int id,
- TZDateTime input
)
Implementation
Future<void> scheduleDailyNotification(int id, tz.TZDateTime input) async {
final platformChannelSpecifics = await _notificationDetails();
await _localNotifications.zonedSchedule(
id,
appName,
notificationContent,
input,
platformChannelSpecifics,
payload: notificationContent,
androidAllowWhileIdle: true,
uiLocalNotificationDateInterpretation:
UILocalNotificationDateInterpretation.absoluteTime,
matchDateTimeComponents: DateTimeComponents.time,
);
}