viewportWidth property

set viewportWidth (double width)

Updates the viewport width so haptic physics normalize correctly. Called during widget layout when the available width changes. Default no-op for custom handlers that don't need width normalization.

Implementation

set viewportWidth(double width) {}