getTextSize method

double getTextSize(
  1. double? percentage
)

Returns the text size for the percentage provided.

Implementation

double getTextSize(
  double? percentage,
) =>
    percentage! / 100 * (getHeight(percentage) + getWidth(percentage));