mo_adapt 0.1.1 copy "mo_adapt: ^0.1.1" to clipboard
mo_adapt: ^0.1.1 copied to clipboard

Every UI dimension scales proportionally to the screen. No .w/.h/.sp.

Changelog #

0.1.1 #

  • Pubspec adjust

0.1.0 #

Initial release.

  • MoAdapt widget: wrap your app once and every logical dimension scales proportionally to the screen from a reference designSize — no .w/.h/.sp accessors, no child changes.
  • Scale strategies: width (default), height, min, max, plus minScale/maxScale clamps and an enabled toggle.
  • Design-space MediaQuery rewriting (size, devicePixelRatio, padding, viewPadding, viewInsets, systemGestureInsets, displayFeatures) so SafeArea, dialogs, and keyboard avoidance stay consistent.
  • MoAdapt.of(context) / maybeOf exposing MoAdaptData (scale, designSize, screenSize, adaptedSize, unscale).
1
likes
160
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Every UI dimension scales proportionally to the screen. No .w/.h/.sp.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on mo_adapt