fw property

double get fw

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

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

Example:

double adaptiveWidth = 100.fw; // Scaled width

Implementation

double get fw {
  return (ResponsiveCardConfig.currentParentWidthValue * this) /
      ResponsiveCardConfig.targetParentWidthValue;
}