Skip to content

Commit 32dcc7f

Browse files
committed
feat: introduce default initialization for ScreenUtilPlus fields and make designSize optional.
1 parent 11a6be5 commit 32dcc7f

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

CHANGELOG.md

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

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

7+
## [1.3.0] - 2025-12-07
8+
9+
### Added
10+
11+
- **Default Initialization**: `ScreenUtilPlus` fields now initialize with default values (`defaultSize` of 360x690) instead of empty/zero values, preventing issues when accessed before explicit configuration.
12+
- **Optional Configuration**: `designSize` parameter in `init`, `configure`, and `ScreenUtilPlusInit` is now optional, defaulting to 360x690. This allows for simpler setup when using standard defaults.
13+
714
## [1.2.2] - 2025-12-07
815

916
### Changed

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.2.2
3+
version: 1.3.0
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)