AlarmNotification class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- localNotif → FlutterLocalNotificationsPlugin
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
int id) → Future< void> - Cancels notification. Called when the alarm is cancelled or when an alarm is overriden.
-
init(
) → Future< void> - Adds configuration for local notifications and initialize service.
-
nextInstanceOfTime(
DateTime time) → TZDateTime -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermission(
) → Future< bool> - Shows notification permission request.
-
scheduleAlarmNotif(
{required int id, required DateTime dateTime, required String title, required String body}) → Future< void> - Schedules notification at the given time.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → AlarmNotification
-
final
-
selectNotificationStream
→ StreamController<
String?> -
final