uni_size 1.1.7 copy "uni_size: ^1.1.7" to clipboard
uni_size: ^1.1.7 copied to clipboard

A Flutter package for responsive design using .dp and .sp units that scale with device screen and text settings. Works consistently on all platforms.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2025-05-24 #

Added #

  • Initial release of UniSize package
  • Responsive design utilities for Flutter
  • Device type detection (Android, iOS, Web, Windows, macOS, Linux, Fuchsia)
  • Screen type classification (Mobile, Tablet, Desktop)
  • Density-independent pixel (dp) calculations
  • Scalable pixel (sp) calculations for fonts
  • Platform-specific scaling support
  • Text scale factor with min/max constraints
  • Orientation detection utilities
  • Responsive value selection based on screen type

Features #

  • Cross-platform compatibility
  • Automatic device and screen type detection
  • Customizable design dimensions
  • Text scaling with accessibility support
  • Platform-specific optimizations

Technical #

  • Updated to use non-deprecated MediaQuery.textScalerOf() API
  • Improved text scaling implementation
  • Comprehensive device information management

1.0.1 - 2025-05-24 #

Changed #

  • Formatted all source files for consistency (no functional/code logic changes)

1.0.2 - 2025-05-24 #

Changed #

  • Added example and changed description (no functional/code logic changes)

1.0.3 - 2025-05-24 #

Changed #

  • Moved example file (no functional/code logic changes)

1.0.4 - 2025-05-24 #

Changed #

  • Moved example file (no functional/code logic changes)

1.0.5 - 2025-05-24 #

Changed #

  • Changed .dp logic

1.0.6 - 2025-05-24 #

Changed #

  • Changed .dp logic

1.0.7 - 2025-05-25 #

Changed #

  • Added sponsor button

1.1.7 - 2025-05-26 #

Changed #

  • For percent of screen width use .w indtead of .sw, and .h for height instead fo .sh
5
likes
160
points
3
downloads

Publisher

verified publisherjagadeeschouhdary.com

Weekly Downloads

A Flutter package for responsive design using .dp and .sp units that scale with device screen and text settings. Works consistently on all platforms.

Repository (GitHub)
View/report issues

Topics

#responsive #ui #design #sizing #scaling

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter

More

Packages that depend on uni_size