strutStyle property Null safety

StrutStyle? strutStyle

The strut style to use. Strut style defines the strut, which sets minimum vertical layout metrics.

Omitting or providing null will disable strut.

Omitting or providing null for any properties of StrutStyle will result in default values being used. It is highly recommended to at least specify a StrutStyle.fontSize.

See StrutStyle for details.

Implementation

StrutStyle? get strutStyle => _strutStyle;
void strutStyle=(StrutStyle? value)

Implementation

set strutStyle(StrutStyle? value) {
  if (_strutStyle == value) {
    return;
  }
  _strutStyle = value;
  markNeedsLayout();
}