SmartUnit extension

SmartUnit extension: Unified scaling for responsive apps

on

Methods

smart({double? minValue, double? maxValue, bool aspectAware = false, double ultraLargeCurve(double value)?}) double

Available on num, provided by the SmartUnit extension

Smart scaling for width/height/radius/container
smartFont({double? minValue, double? maxValue, double fontMultiplier = 1.0, double ultraLargeCurve(double value)?}) double

Available on num, provided by the SmartUnit extension

Separate smart scaling for font size