strutLineHeight method
Strut / TextStyle.height multiplier matching contentHeight.
Implementation
double strutLineHeight(double fontSize) =>
fontSize > 0 ? contentHeight / fontSize : 1.0;
Strut / TextStyle.height multiplier matching contentHeight.
double strutLineHeight(double fontSize) =>
fontSize > 0 ? contentHeight / fontSize : 1.0;