textDirection property
The text direction with which to resolve alignment.
This may be changed to null, but only after the alignment has been changed to a value that does not depend on the direction.
Implementation
TextDirection get textDirection => _textDirection;Implementation
set textDirection(TextDirection value) {
  if (_textDirection == value)
    return;
  _textDirection = value;
  _markNeedResolution();
}