WindowsNotificationDetails class
Contains notification details specific to Windows.
Constructors
-
WindowsNotificationDetails.new({List<
WindowsAction> actions = const <WindowsAction>[], List<WindowsInput> inputs = const <WindowsInput>[], List<WindowsImage> images = const <WindowsImage>[], List<WindowsRow> rows = const <WindowsRow>[], List<WindowsProgressBar> progressBars = const <WindowsProgressBar>[], Map<String, String> bindings = const <String, String>{}, WindowsHeader? header, WindowsNotificationAudio? audio, WindowsNotificationDuration? duration, WindowsNotificationScenario? scenario, DateTime? timestamp, String? subtitle}) -
Creates a Windows notification from the given options.
const
Properties
-
actions
→ List<
WindowsAction> -
A list of at most five action buttons.
final
- audio → WindowsNotificationAudio?
-
A custom audio to play during this notification.
final
-
bindings
→ Map<
String, String> -
Custom bindings in the notification.
final
- duration → WindowsNotificationDuration?
-
The duration for this notification.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → WindowsHeader?
-
The header for this group of notifications.
final
-
images
→ List<
WindowsImage> -
A list of images to show.
final
-
inputs
→ List<
WindowsInput> -
A list of at most five input elements.
final
-
progressBars
→ List<
WindowsProgressBar> -
A list of progress bars to show.
final
-
rows
→ List<
WindowsRow> -
A list of rows to show.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scenario → WindowsNotificationScenario?
-
The scenario for this notification. Sets some defaults based on the value.
final
- subtitle → String?
-
A third line to show under the notification body.
final
- timestamp → DateTime?
-
Overrides the timestamp to show on the notification.
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