textDirection property Null safety

TextDirection? textDirection

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

This must not be null if attributedLabel, attributedHint, attributedValue, attributedIncreasedValue, or 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();
}