getHeight static method
Implementation
static double getHeight (BuildContext context, { String? className }) {
try {
_clearCacheDiviceSizeWhenOrientationChange(context);
if( isMobile() && heightFullSize != 0 ) {
return heightFullSize;
}
heightFullSize = MediaQuery.of(context).size.height;
//Log.i( "DeviceTools - getHeight() - result: $result ");
return heightFullSize;
} catch (err) {
if( className != null ){
//Log.e( "DeviceTools - getHeight() - err - className: $className ");
return 1000;
}
// LogDebug.e( "DeviceTools - getHeight() - err: $err ");
return 1000;
}
}