AdaptiveWidthExtension extension
Provides adaptive width extensions for Tuple2.
Use this for continuous (fluid) scaling between two values based on screen width.
Methods
-
aw(
BuildContext context) → double -
Available on Tuple2<
Linearly interpolates between item1 and item2 based on the current screen width relative to the design width range (num, num> , provided by the AdaptiveWidthExtension extensiondesignMinWidthtodesignMaxWidth). -
d(
BuildContext context) → double -
Available on Tuple2<
Scales two values (representing a small-screen dimension) to the current screen diagonal.num, num> , provided by the AdaptiveWidthExtension extension