h property
double
get
h
Height percentage (0-100) Example: 50.h = 50% of screen height
Implementation
double get h {
final config = ResponsiveMasterConfig.instance;
if (!config.enableCaching) {
return this * DeviceData.height / 100;
}
return ResponsiveCache.getOrCompute(
'h_$this',
() => this * DeviceData.height / 100,
width: DeviceData.width,
height: DeviceData.height,
orientation: DeviceData.orientation.toString(),
);
}