textDirection property

TextDirection? textDirection
final

The text direction for resolving directional properties.

If null, uses the ambient Directionality from the widget tree. Affects how directional alignments (start/end) are interpreted, especially important for RTL (right-to-left) languages.

Implementation

final TextDirection? textDirection;