AdaptiveEdgeInsetsExtension extension
Extension on EdgeInsets for adaptive scaling.
These extensions allow you to scale EdgeInsets values:
Padding(
padding: EdgeInsets.all(16).aw, // scale all by width ratio
)
- on
Properties
- ah → EdgeInsets
-
Available on EdgeInsets, provided by the AdaptiveEdgeInsetsExtension extension
Scales all values by the height ratio.no setter - ar → EdgeInsets
-
Available on EdgeInsets, provided by the AdaptiveEdgeInsetsExtension extension
Scales all values by the radius (uniform) ratio.no setter - aw → EdgeInsets
-
Available on EdgeInsets, provided by the AdaptiveEdgeInsetsExtension extension
Scales all values by the width ratio.no setter - awh → EdgeInsets
-
Available on EdgeInsets, provided by the AdaptiveEdgeInsetsExtension extension
Scales horizontal values by width ratio, vertical by height ratio.no setter