textDirection property

TextDirection? textDirection

If non-null, sets the SemanticsNode.textDirection semantic to the given value.

This must not be null if SemanticsProperties.attributedLabel, SemanticsProperties.attributedHint, SemanticsProperties.attributedValue, SemanticsProperties.attributedIncreasedValue, or SemanticsProperties.attributedDecreasedValue are not null.

Implementation

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

Implementation

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