disabled constant

StrutStyle const disabled = const StrutStyle(height: 0.0, leading: 0.0)

A StrutStyle that will have no impact on the text layout.

Equivalent to having no strut at all. All lines will be laid out according to the properties defined in TextStyle.

Implementation

static const StrutStyle disabled = StrutStyle(
  height: 0.0,
  leading: 0.0,
)