NotificationMessage class
Constructors
-
NotificationMessage({required String content, String? title, NotificationMessageType type = NotificationMessageType.alertDialog, NotificationMessageLevel level = NotificationMessageLevel.error, FutureOr<
void> onDismiss()?})
Properties
- content → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → NotificationMessageLevel
-
final
-
onDismiss
→ FutureOr<
void> Function()? -
Callback called after the NotificationMessage dismissed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
final
- type → NotificationMessageType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited