lineSpacingPx function

double lineSpacingPx(
  1. RenderContext context
)

Calculates line spacing

Implementation

double lineSpacingPx(RenderContext context) {
  // Using density or standard font metrics conversion
  return context.fontSize * MathConstants.lineSpacing;
}