textDirection property

TextDirection get textDirection

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

If the crossAxisAlignment is either CrossAxisAlignment.start or CrossAxisAlignment.end, then the textDirection must not be null.

Implementation

TextDirection get textDirection => _textDirection;
set textDirection (TextDirection value)

Implementation

set textDirection(TextDirection value) {
  if (_textDirection != value) {
    _textDirection = value;
    _updateCache();
  }
}