textDirection property
The text direction for the editor's content.
This determines the direction in which text is laid out and rendered. For left-to-right languages like English, use TextDirection.ltr. For right-to-left languages like Arabic or Hebrew, use TextDirection.rtl.
Defaults to TextDirection.ltr.
Implementation
final TextDirection textDirection;