Skip to content

Commit 6566f37

Browse files
committed
refactor: Improve core logic, enhance ScreenUtilPlusInit robustness, and add initialization fallback tests.
1 parent 361701a commit 6566f37

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@
44

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

7+
## [1.3.1] - 2025-12-10
8+
9+
### Changed
10+
11+
- **Refactoring**: Core logic improvements for better maintainability and performance.
12+
- Simplified `ScreenUtilPlus` singleton and initialization logic.
13+
- Optimized `AdaptiveContainer` property handling.
14+
- **Robustness**: Improved `ScreenUtilPlusInit` to robustly handle nested `MediaQuery` data, falling back to `View.maybeOf` only when necessary.
15+
16+
### Added
17+
18+
- **Tests**: Added dedicated tests for initialization fallback logic to ensure correct behavior in various widget tree configurations.
19+
720
## [1.3.0] - 2025-12-07
821

922
### Added

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_screenutil_plus
22
description: A powerful Flutter plugin for adaptive screen and font scaling with CSS-like breakpoints and SwiftUI-style size classes. Includes responsive scaling and breakpoint-aware widgets.
3-
version: 1.3.0
3+
version: 1.3.1
44
homepage: https://github.com/muhammadkamel/flutter_screenutil_plus
55
repository: https://github.com/muhammadkamel/flutter_screenutil_plus
66
license: MIT

0 commit comments

Comments
 (0)