scaledWidth property

double scaledWidth
getter/setter pair

Simulated content width calculations.

The scaledWidth is computed with the following algorithm:

  1. Find the active breakpoint and resize using that breakpoint's logic.
  2. If no breakpoint is found, check if the screenWidth is smaller than the smallest breakpoint. If so, follow defaultScale behavior to resize.
  3. There are no breakpoints set. Resize using defaultScale behavior and minWidth.

Implementation

double scaledWidth = 0;