strutStyle property Null safety

StrutStyle? strutStyle

The StrutStyle used by the renderer's internal TextPainter to determine the strut to use.

Implementation

StrutStyle? get strutStyle => _textPainter.strutStyle;
void strutStyle=(StrutStyle? value)

Implementation

set strutStyle(StrutStyle? value) {
  if (_textPainter.strutStyle == value) {
    return;
  }
  _textPainter.strutStyle = value;
  markNeedsTextLayout();
}