Skip to content

Releases: muhammadkamel/flutter_screenutil_plus

Release v1.5.0

Choose a tag to compare

@muhammadkamel muhammadkamel released this 23 Feb 21:14

[1.5.0] - 2026-02-23

Added

  • Benchmark Suite: Added a comprehensive suite of microbenchmarks and integration benchmarks. The suite measures layout calculation overhead, deep tree frame build times, scrolling raster times, and orientation rebuilds. Automatically compares execution times against standard native layouts and flutter_screenutil.
  • ResponsiveGrid Widget: Introduced a new ResponsiveGrid widget for easily creating adaptive layouts relying on device constraints.

Changed

  • Performance Refactoring: Removed the SU mixin and the ScreenUtilPlusInit tree-walking mechanisms to eliminate severe widget rebuilding bottlenecks, significantly improving scaling efficiencies across deep widget cascades.
  • Scaling Fixes: Fixed layout resolution in AdaptiveValues to prevent elements from being unintentionally double-scaled.

v1.3.1

Choose a tag to compare

@muhammadkamel muhammadkamel released this 10 Dec 11:54

Changed

  • Refactoring: Core logic improvements for better maintainability and performance.
    • Simplified ScreenUtilPlus singleton and initialization logic.
    • Optimized AdaptiveContainer property handling.
  • Robustness: Improved ScreenUtilPlusInit to robustly handle nested MediaQuery data, falling back to View.maybeOf only when necessary.

Added

  • Tests: Added dedicated tests for initialization fallback logic to ensure correct behavior in various widget tree configurations.

v1.3.0

Choose a tag to compare

@muhammadkamel muhammadkamel released this 07 Dec 00:29

Added

  • Default Initialization: ScreenUtilPlus fields now initialize with default values (defaultSize of 360x690) instead of empty/zero values, preventing issues when accessed before explicit configuration.
  • Optional Configuration: designSize parameter in init, configure, and ScreenUtilPlusInit is now optional, defaulting to 360x690. This allows for simpler setup when using standard defaults.

v1.2.2

Choose a tag to compare

@muhammadkamel muhammadkamel released this 06 Dec 23:37

Changed

  • Revert: designSize parameter in ScreenUtilPlus.init and ScreenUtilPlusInit is now required again. The previous change to make it optional was reverted to ensure explicit configuration.

Fixed

  • Crash Fix: Fixed LateInitializationError in ScreenUtilPlus.configure when called with null parameters before initialization. Added default values for internal flags to prevent this crash.