fh property

double get fh

Calculates the adaptive height based on the current parent height and target parent height.

This method scales the numeric value to the height of the current parent container compared to the target height set in ResponsiveCardConfig.

Example:

double adaptiveHeight = 100.fh; // Scaled height

Implementation

double get fh {
  return (ResponsiveCardConfig.currentParentHeightValue * this) /
      ResponsiveCardConfig.targetParentHeightValue;
}