NotificationType enum

The type of a Notification.

Inheritance
Available extensions

Values

invite → const NotificationType

The user has been invited to a CalendarPlan.

Notification.context is the CalendarPlan's unique identifier.

const NotificationType(inviteMessage, inviteActions)
inviteAccepted → const NotificationType

An invited user has accepted the invitation.

Notification.context is the PlanInvite's unique identifier.

const NotificationType(inviteAcceptedMessage, noActions)
inviteDeclined → const NotificationType

An invited user has declined the invitation.

const NotificationType(inviteDeclinedMessage, noActions)
planLeft → const NotificationType

A member has left a shared CalendarPlan.

const NotificationType(planLeftMessage, noActions)
planRemoved → const NotificationType

The user has been removed from a shared CalendarPlan.

const NotificationType(planRemovedMessage, noActions)
newUser → const NotificationType

The user has freshly installed the app.

const NotificationType(newUserMessage, noActions)

Properties

actions FutureOr<List<(String, FutureOr<void> Function()?)>> Function(BuildContext, Notification)
Returns a list of actions the user can take on the notification.
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
message Widget Function(BuildContext, Notification)
Returns the message of the notification.
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<NotificationType>
A constant List of the values in this enum, in order of their declaration.