textDirection property

TextDirection? get textDirection

The text direction with which to resolve padding.

This may be changed to null, but only after the padding has been changed to a value that does not depend on the direction.

Implementation

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

Implementation

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