heightPercent method

double heightPercent(
  1. double percent
)

Implementation

double heightPercent(double percent) => screenHeight * (percent / 100);