heightPercent method

double heightPercent(
  1. double value
)

Implementation

double heightPercent(double value) =>
    MediaQuery.of(this).size.height * value / 100;