LitNotificationController class

Constructors

LitNotificationController({int maxAtOnce = 10})
Creates a LitNotificationController.

Properties

hashCode int
The hash code for this object.
no setterinherited
maxAtOnce int
States the threshold of notifications that should be displayed at once.
final
notifications List<LitNotificationData>
All current notifications<.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(LitNotificationData notificationData) → void
Adds a notification to the current notification list.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(LitNotificationData notificationData) bool
Removes a specific notification using its LitNotificationData object from the current notification list.
removeAtIndex(int index) → void
Removes a specific notification using its index from the current notification list.
replaceNotification(int index, LitNotificationData notificationData) → void
Replaces a notification with the provided data.
reset() → void
Resets all notifications.
toString() String
A string representation of this object.
inherited

Operators

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