WindowsNotificationText class
Text in a Windows notification.
See: https://learn.microsoft.com/en-us/uwp/schemas/tiles/toastschema/element-text
- Inheritance
-
- Object
- WindowsNotificationPart
- WindowsNotificationText
Constructors
- WindowsNotificationText.new({required String text, bool centerIfCall = false, bool isCaption = false, WindowsTextPlacement? placement, String? languageCode})
-
Creates text for a Windows notification.
const
Properties
- centerIfCall → bool
-
Whether to center this text. Only relevant if in an incoming call.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCaption → bool
-
Whether the text should be smaller like a caption.
final
- languageCode → String?
-
The language of this text.
final
- placement → WindowsTextPlacement?
-
The placement of this text.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
The text being displayed.
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