textDirection property Null safety

TextDirection? textDirection

The text direction with which to resolve alignment.

This may be changed to null, but only after the alignment and matchTextDirection properties have been changed to values that do not depend on the direction.

Implementation

TextDirection? get textDirection => _textDirection;
void textDirection=(TextDirection? value)

Implementation

set textDirection(TextDirection? value) {
  if (_textDirection == value) {
    return;
  }
  _textDirection = value;
  _markNeedResolution();
}