pro_scale 0.0.1
pro_scale: ^0.0.1 copied to clipboard
Screen-adaptive scaling for size, spacing, radius and fonts, with automatic orientation swap and accessibility-aware font sizing.
0.0.1 #
Initial release.
- Ratio-based scaling for width, height, radius and fonts from a single design size.
- Automatic orientation swap between portrait and landscape designs/screens.
- Clamped up-scaling via
maxScaleFactor. - Accessibility-aware
setSpthat layers the systemTextScalerover the design scale (opt-out viarespectSystemTextScale). - Static
numextensions (.w,.h,.sp,.r) plus a reactive API (ProScale.of(context)/context.scale).