textBaseline property

TextBaseline? get textBaseline

If aligning items according to their baseline, which baseline to use.

Must not be null if crossAxisAlignment is CrossAxisAlignment.baseline.

Implementation

TextBaseline? get textBaseline => _textBaseline;
set textBaseline (TextBaseline? value)

Implementation

set textBaseline(TextBaseline? value) {
  assert(_crossAxisAlignment != CrossAxisAlignment.baseline || value != null);
  if (_textBaseline != value) {
    _textBaseline = value;
    markNeedsLayout();
  }
}