textDirection property

TextDirection? textDirection
final

Determines the order that the children appear in for the default horizontal layout, and the interpretation of OverflowBarAlignment.start and OverflowBarAlignment.end for the vertical overflow layout.

For the default horizontal layout, if textDirection is TextDirection.rtl then the last child is laid out first. If textDirection is TextDirection.ltr then the first child is laid out first.

If this parameter is null, then the value of Directionality.of(context) is used.

See also:

  • overflowDirection, which defines the order that the OverflowBar's children appear in, if the horizontal layout overflows.
  • Directionality, which defines the ambient directionality of text and text-direction-sensitive render objects.

Implementation

final TextDirection? textDirection;