PanelDirection enum

The panel's layout direction, published on the wire as a closed set.

Deliberately not dart:ui's TextDirection — the schema layer imports only equatable and its own siblings, no Flutter. The UI layer maps this to TextDirection where it renders.

Inheritance
Available extensions

Values

ltr → const PanelDirection
rtl → const PanelDirection

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

fromJson(Object? value) PanelDirection
Absent or unrecognised reads as ltr — a server predating this field, or one whose override didn't survive normalisation, gets today's behaviour rather than a thrown error. The server already normalises direction to ltr/rtl; the client does not trust that it did.

Constants

values → const List<PanelDirection>
A constant List of the values in this enum, in order of their declaration.