RtlHelper class
Internal helper class to handle layout adaptations for Right-to-Left (RTL) locales.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
flexAlignment(
BuildContext context, {MainAxisAlignment? override}) → MainAxisAlignment - Returns the appropriate MainAxisAlignment based on current locale directionality.
-
isRtl(
BuildContext context) → bool -
Determines if the current
contextis using an RTL text direction. -
textDirection(
BuildContext context, {TextDirection? override}) → TextDirection -
Returns the effective TextDirection for the current
context.