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

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The underlying string value (e.g. 'auto', 'ltr', 'rtl').
final

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.