- Fixed
View
not found bug
- Added
sh
andsw
extension
- Removed deprecated method
- Added
spa
which isaltunyurt's
way of calculating sp
- Added desktop as one of the screen type options
- Fixed bug where device width and height is initially zero in release mode
- Updated WidgetsBinding to support both Flutter 2 and 3
- Added devicePixelRatio fallback value
- Fixed formatting
- Important Change: ResponsiveSizer doesn't need to be inside MaterialApp anymore
- Added absolute units: cm, mm, Q, inches, pc, pt, px
- Added relative units: vmin, vmax
- Improved README
- Fixed bugs where the app will not render in release mode
- Added a better explanation of
.h
and.w
in the example
- Improved documentation
- Improved documentation
- Fixed formatting
- Changed implementation of .sp
- Added a way to check device platform without getting compatibility issue
- Removed checks for device type because of dart 2 incompatibility issue
- Fixed Web compatibility error due to dart:io
- Breaking Change: The package will set the correct width and height regardless of the orientation See Issue#6
- Breaking Change: Changed
.sp
to calculate the value using device's pixel density ratio - Added a way to check the device type (Android, Ios, Web, Windows, etc.)
- Fixes Issue#2 where the correct width and height aren't set when in landscape orientation
- Added
adaptiveHeight
andadaptiveWidth
parameter that is used for calculation to replace the old width and height
- Changed description
- Improved formatting in documentation
- Improved formatting in documentation
- ResponsiveSizer now accepts builder parameter to fix Issue#1
- Fixed bug where
Orientation
andScreenType
doesn't get set byDevice.setScreenSize
- Fixed broken README links
- Added Adaptive class to support auto import package
- Fixed a bug where changing the orientation changes the ScreenType
- Fixed Typo
- Formatted dart files according to pass static analysis
- Updated import package version in README.md
- Updated import package version in README.md
- Improved Documentation
- First Release