forceStrutHeight property
final
Whether the strut height should be forced.
When true, all lines will be laid out with the height of the strut. All line and run-specific metrics will be ignored/overridden and only strut metrics will be used instead. This property guarantees uniform line spacing, however text in adjacent lines may overlap.
This property should be enabled with caution as it bypasses a large portion of the vertical layout system.
This is equivalent to setting TextStyle.height to zero for all TextStyles in the paragraph. Since the height of each line is calculated as a max of the metrics of each run of text, zero height TextStyles cause the minimums defined by strut to always manifest, resulting in all lines having the height of the strut.
The default is false.
Implementation
final bool? forceStrutHeight;