textDirection property
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;
Implementation
set textDirection(TextDirection? value) {
if (textDirection == value) {
return;
}
_textDirection = value;
markNeedsSemanticsUpdate();
}