AndroidNotiUtil class

Constructors

AndroidNotiUtil()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkAndRequestNotificationPermission() Future<bool>
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showCompleteNotification({int notificationId = 1, String channelId = 'channel_id', String title = 'Completed', String content = 'Done'}) Future<void>
showNotification({int notificationId = 1, String channelId = 'channel_id', String channelName = 'channel_name', String channelDesc = '', String title = 'Noti Content Title', String content = 'Noti Content Text', bool isAutoReqPermission = true}) Future<void>
showProgressNotification({required int progress, int notificationId = 1, String channelId = 'channel_id', String channelName = 'channel_name', String channelDesc = '', String title = 'Noti Content Title', String content = 'Noti Content Text', bool indeterminate = false}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance AndroidNotiUtil
final