WindowsAction class
A button in a Windows notification.
See https://learn.microsoft.com/en-us/uwp/schemas/tiles/toastschema/element-action#attributes
Constructors
- WindowsAction.new({required String content, required String arguments, WindowsActivationType activationType = WindowsActivationType.foreground, WindowsNotificationBehavior activationBehavior = WindowsNotificationBehavior.dismiss, WindowsActionPlacement? placement, Uri? imageUri, String? inputId, WindowsButtonStyle? buttonStyle, String? tooltip})
-
Constructs a Windows notification button from parameters.
const
Properties
- activationBehavior → WindowsNotificationBehavior
-
How the notification should react when the button is pressed.
final
- activationType → WindowsActivationType
-
How the application should open if the button is pressed.
final
- arguments → String
-
An app-defined string that will be passed back if the button is pressed.
final
-
The style of the button. Null indicates a plain button.
final
- content → String
-
The body text of the button.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageUri → Uri?
-
An image to show on the button.
final
- inputId → String?
-
The ID of an input box.
final
- placement → WindowsActionPlacement?
-
How the button should be placed on the notification.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tooltip → String?
-
The tooltip, useful if content is empty.
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