getHeightWithScreen static method

double getHeightWithScreen(
  1. double value
)

Implementation

static double getHeightWithScreen(double value) {
  return ScreenUtil().orientation == Orientation.portrait ? value.h : value.w;
}