textDirection property

TextDirection? textDirection
final

Determines the order to lay children out horizontally and how to interpret start and end in the horizontal direction.

Defaults to the ambient Directionality.

If textDirection is TextDirection.rtl, then the direction in which text flows starts from right to left. Otherwise, if textDirection is TextDirection.ltr, then the direction in which text flows starts from left to right.

Controls the meaning of the crossAxisAlignment property's CrossAxisAlignment.start and CrossAxisAlignment.end values.

The textDirection (or the ambient Directionality) must not be null.

Implementation

final TextDirection? textDirection;