textBaseline property

TextBaseline? 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;
void textBaseline=(TextBaseline? value)

Implementation

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