From 4c995b771dfbc6c0c99f62fbdb4d2905d8775be6 Mon Sep 17 00:00:00 2001 From: Badr Kouki Date: Thu, 31 Jul 2025 11:51:43 +0100 Subject: [PATCH 1/2] fix #156: resolve edgeinsets class definition build issue --- lib/bottom_picker.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bottom_picker.dart b/lib/bottom_picker.dart index 6ec96d3..8cd6dd8 100644 --- a/lib/bottom_picker.dart +++ b/lib/bottom_picker.dart @@ -925,7 +925,7 @@ class BottomPickerState extends State { Padding( padding: widget.headerBuilder == null ? widget.titlePadding ?? const EdgeInsets.all(0) - : EdgeInsetsGeometry.zero, + : EdgeInsets.zero, child: Row( children: [ if (widget.headerBuilder != null) From 25768b684ed402b91213b70432201dcf41737b3e Mon Sep 17 00:00:00 2001 From: Badr Kouki Date: Thu, 31 Jul 2025 12:01:22 +0100 Subject: [PATCH 2/2] docs: update package documentation and version --- CHANGELOG.md | 8 ++++++++ README.md | 2 +- pubspec.yaml | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ace467..e2e2594 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ +## [4.0.1] - 31/07/2025 + +**Bug Fix** + +- Resolve `EdgeInsetsGeometry.zero` build issue [ISSUE#156](https://github.com/koukibadr/Bottom-Picker/issues/156) + ## [4.0.0] - 26/07/2025 **Features** + - Add filter for unpick or block some days [PR#150](https://github.com/koukibadr/Bottom-Picker/pull/150) [ISSUE#148](https://github.com/koukibadr/Bottom-Picker/issues/148) - Transform `pickerTitle` into an optional header builder callback [PR#146](https://github.com/koukibadr/Bottom-Picker/pull/146) - Add year picker [PR#153](https://github.com/koukibadr/Bottom-Picker/pull/153) [ISSUE#147](https://github.com/koukibadr/Bottom-Picker/issues/147) @@ -10,6 +17,7 @@ - Add `diameterRatio` parameter for simple picker display [PR#154](https://github.com/koukibadr/Bottom-Picker/pull/154) **Bug Fix** + - `selectedItemIndex` parameters does not work for simple picker - Resolve issue regarding `seleectedIndex` for Web and desktop platforms diff --git a/README.md b/README.md index 570b805..0061cbb 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ To add bottom picker to your project add this line to your pubspec.yaml file ```yaml dependencies: - bottom_picker: ^4.0.0 + bottom_picker: ^4.0.1 ``` ## Parameters diff --git a/pubspec.yaml b/pubspec.yaml index d376df7..ca1545e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: bottom_picker description: An easy way that let you create a bottom item picker or date & time picker with minmum parameters -version: 4.0.0 +version: 4.0.1 homepage: 'https://github.com/koukibadr/Bottom-Picker' environment: sdk: '>=2.19.0 <4.0.0'