baselineType property Null safety

TextBaseline baselineType

The type of baseline to use for positioning the child.

Implementation

TextBaseline get baselineType => _baselineType;
void baselineType=(TextBaseline value)

Implementation

set baselineType(TextBaseline value) {
  assert(value != null);
  if (_baselineType == value)
    return;
  _baselineType = value;
  markNeedsLayout();
}