NotificationDirection class
Direction for notification text display.
Use the predefined constants (auto, ltr, rtl) or construct with a raw string for forward-compatibility with future spec values.
See: https://developer.mozilla.org/en-US/docs/Web/API/Notification/dir
Constructors
- NotificationDirection(String value)
-
Creates a direction from a raw string value.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- auto → const NotificationDirection
- Adopts the browser's language setting direction.
- ltr → const NotificationDirection
- Left-to-right.
- rtl → const NotificationDirection
- Right-to-left.