height static method

double height(
  1. dynamic height
)

Implementation

static double height(height) {
  final view = PlatformDispatcher.instance.implicitView!;
  final screenHeight = view.physicalSize.height / view.devicePixelRatio;
  return screenHeight * (height / 812);
}