uni_size 1.1.7
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)