textDirection property Null safety

TextDirection textDirection
final

The directionality of the text.

This value is used to disambiguate how to render bidirectional text. For example, if the message is an English phrase followed by a Hebrew phrase, in a TextDirection.ltr context the English phrase will be on the left and the Hebrew phrase to its right, while in a TextDirection.rtl context, the English phrase will be on the right and the Hebrew phrase on its left.

See also:

Implementation

final TextDirection textDirection;