UNotificationAction class
A button on a notification.
- Annotations
Constructors
Properties
- authenticationRequired → bool
-
iOS: requires unlocking the device first.
final
- destructive → bool
-
Shown in red (iOS / macOS).
final
- foreground → bool
-
Opens the app; otherwise handled in the background without opening it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Id sent back in the event.
final
- input → bool
-
Shows a text field (reply from the notification).
final
- inputButton → String?
-
iOS: title of the send button next to the text field.
final
- inputPlaceholder → String?
-
Hint of the reply field when input is true (reply works on Android, Apple, Windows, some Linux).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Button text.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> - As a map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited