AdaptiveWidthExtension extension

Provides adaptive width extensions for Tuple2.

Use this for continuous (fluid) scaling between two values based on screen width.

on

Methods

aw(BuildContext context) → double

Available on Tuple2<num, num>, provided by the AdaptiveWidthExtension extension

Linearly interpolates between item1 and item2 based on the current screen width relative to the design width range (designMinWidth to designMaxWidth).
d(BuildContext context) → double

Available on Tuple2<num, num>, provided by the AdaptiveWidthExtension extension

Scales two values (representing a small-screen dimension) to the current screen diagonal.