Committed by
GitHub
Major updates & fixes (#491)
* Clean codes & add features & fix bugs Features/Bugs: - Feature: You can select what classes needs to be rebuilt instead of rebuilding everything, if you have widget A, either addi SU mixin or add 'A' to list ScreenUtilInit.responsiveWidgets - Feature: Using ScreenUtilInit.builder is optional (use it only when using library in theme) - Bug: Second call to ScreenUtil.init ignores any existing values and uses the default values when not provided, use ScreenUtil.configure instead - Bug: ScreenUtil.ensureScreenSize raises an overflow error * Update version * Add List of flutter widgets * Update logic if allowing widget to being rebuilt * Little code solidity * Add scale factors: diagonal & diameter * Add option for how font size should be scaled * Update support to Dart >= 2.17.0 * Add fontSizeResolver to init + helpers * Add ensureScreenSize to ScreenUtilInit constructor * Fix ensureScreenSize on web * Update Runner.rc * Add some methods to extensions * Update widget_test * Remove extra deps * Clean code * Add ensureScreenSizeAndInit + make init sync * Update README.md * Update CHANGELOG.md * Update version to 5.9.0 * Rename version * Adding tests * Changing version in CHANGELOG.md --------- Co-authored-by: Mounir Bouaiche <mounir-b@dba.ma>
Showing
19 changed files
with
1328 additions
and
192 deletions
example/lib/responsive_widgets.g.dart
0 → 100644
example/lib/responsive_widgets.su.dart
0 → 100644
lib/src/_flutter_widgets.dart
0 → 100644
lib/src/screenutil_mixin.dart
0 → 100644
test/flutter_screenutil_test.dart
0 → 100644
test/home.test.dart
0 → 100644
-
Please register or login to post a comment