scale_size 0.0.6 copy "scale_size: ^0.0.6" to clipboard
scale_size: ^0.0.6 copied to clipboard

This package helps applications design differently from GUI guides, even on devices with different resolutions.

[0.0.1] - 15/01/2021 #

  • Initial release

[0.0.2] - 15/01/2021 #

  • If not call init first, the ScaleSize.get function will return size param

[0.0.3] - 30/03/2021 #

  • Add 2 extensions for the simple way use:
  • Before:
ScaleSize.get(10);
  • Current:
10.s

[0.0.4] - 10/04/2021 #

  • Support scale for size of height
  • Add more extensions and change method name
  • Before:
ScaleSize.get(10); // or 10.s
  • Current:
ScaleSize.scaleW(10); // or 10.sw
ScaleSize.scaleH(10); // or 10.sh

[0.0.5] - 13/08/2021 #

Now, you can re-init scale with function

ScaleSize.reInit(context, designWidth: 360, designHeight: 640, orientation: Orientation.portrait);

[0.0.6] - 05/10/2021 #

  • Null safety
8
likes
120
pub points
72%
popularity

Publisher

unverified uploader

This package helps applications design differently from GUI guides, even on devices with different resolutions.

Repository (GitLab)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on scale_size