diff --git a/CHANGELOG.md b/CHANGELOG.md index e2e2594..6f0063d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## [4.1.0] - 09/08/2025 + +**Features** + +- Add hour predicate attribute to datetime picker [PR#161](https://github.com/koukibadr/Bottom-Picker/pull/161) [ISSUE#160](https://github.com/koukibadr/Bottom-Picker/issues/160) + +**Bug Fix** + +- Resolve initial time initialization in date time picker [PR#159](https://github.com/koukibadr/Bottom-Picker/pull/159) [ISSUE#158](https://github.com/koukibadr/Bottom-Picker/issues/158) +- add SafeArea to prevent content overflow in edge-to-edge mode [PR#159](https://github.com/koukibadr/Bottom-Picker/pull/159) + ## [4.0.1] - 31/07/2025 **Bug Fix** diff --git a/README.md b/README.md index 0061cbb..3ffe198 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.1 + bottom_picker: ^4.1.0 ``` ## Parameters @@ -299,6 +299,9 @@ dependencies: /// The bottom picker selector diameter ratio. final double diameterRatio; + + /// A predicate that can be used to select which hours are selectable. + SelectableHourPredicate? hourPredicate; ```` ## Examples diff --git a/pubspec.yaml b/pubspec.yaml index ca1545e..fd60ddf 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.1 +version: 4.1.0 homepage: 'https://github.com/koukibadr/Bottom-Picker' environment: sdk: '>=2.19.0 <4.0.0'