notification_message library
Classes
- NotificationAction
- Rendered as a button by default. Set contextMenu to put it under the toast's overflow menu instead.
- NotificationAudio
- loop only works for Alarm / Call sounds, and only with a long-duration toast or an alarm/incomingCall scenario.
- NotificationCallbackDetails
- NotificationInput
- A text input or selection list shown inside a toast. Link to an action button with NotificationAction.inputId to get a send-reply pairing.
- NotificationMessage
- NotificationProgress
-
value is
nullfor indeterminate, otherwise clamped to[0.0, 1.0]. - NotificationSelection
- NotificationText
Enums
- NotificationActivationType
- NotificationButtonStyle
- NotificationDuration
- NotificationEvent
- See https://learn.microsoft.com/en-us/uwp/api/windows.ui.notifications.toastdismissalreason
- NotificationScenario
- Toast scenario. Drives sound, persistence, and special UI treatment.
- NotificationSound
-
Names mirror the ms-winsoundevent source strings so emission can use
.namedirectly. - NotificationTextAlignment
- NotificationTextStyle
- https://learn.microsoft.com/windows/apps/design/shell/tiles-and-notifications/adaptive-interactive-toasts
- TemplateType
Typedefs
- NotificationCallback = void Function(NotificationCallbackDetails details)