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/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) 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'