pro_scale 0.0.1 copy "pro_scale: ^0.0.1" to clipboard
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 setSp that layers the system TextScaler over the design scale (opt-out via respectSystemTextScale).
  • Static num extensions (.w, .h, .sp, .r) plus a reactive API (ProScale.of(context) / context.scale).
4
likes
150
points
133
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Screen-adaptive scaling for size, spacing, radius and fonts, with automatic orientation swap and accessibility-aware font sizing.

Repository (GitHub)
View/report issues

Topics

#responsive #scaling #adaptive #layout #accessibility

License

MIT (license)

Dependencies

flutter

More

Packages that depend on pro_scale