textDirection property Null safety

TextDirection? textDirection

TextDirection of the BuildContext which dictates the side of the screen the scrollbar appears in (the trailing side). Must be set prior to calling paint.

Implementation

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

Implementation

set textDirection(TextDirection? value) {
  assert(value != null);
  if (textDirection == value) {
    return;
  }

  _textDirection = value;
  notifyListeners();
}