inchesPct method

double inchesPct(
  1. double percent
)

Returns percent (1-100) of screen inches

Implementation

double inchesPct(double percent) => percent * diagonalInches / 100;