Skip to content

Commit

Permalink
Merge pull request #199 from theideasaler/release
Browse files Browse the repository at this point in the history
release:v1.1.4
  • Loading branch information
theideasaler authored Jun 21, 2024
2 parents 87671d2 + b8fa001 commit de40c56
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## [1.1.4]
- fix: update README.md

## [1.1.3]
- feat: change onValueChanged's type from `ValueChanged<List<DateTime?>>?` to `ValueChanged<List<DateTime>>?`
- feat: change `onValueChanged` type to `ValueChanged<List<DateTime>>?`

## [1.1.2]
- fix: pub dev analyzer warning
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CalendarDatePicker2

[![Pub Package](https://img.shields.io/badge/pub-v1.1.3-blue)](https://pub.dev/packages/calendar_date_picker2)
[![Pub Package](https://img.shields.io/badge/pub-v1.1.4-blue)](https://pub.dev/packages/calendar_date_picker2)
[![Pub Package](https://img.shields.io/badge/flutter-%3E%3D1.17.0-green)](https://flutter.dev/)
[![GitHub Repo stars](https://img.shields.io/github/stars/theideasaler/calendar_date_picker2?style=social)](https://github.com/theideasaler/calendar_date_picker2)

Expand Down Expand Up @@ -45,7 +45,7 @@ Add the following line to `pubspec.yaml`:

```yaml
dependencies:
calendar_date_picker2: ^1.1.3
calendar_date_picker2: ^1.1.4
```
### Basic setup
Expand Down Expand Up @@ -119,13 +119,13 @@ var results = await showCalendarDatePicker2Dialog(

### For CalendarDatePicker2 widget

| Argument | Type | Description |
| ----------------------- | ----------------------------- | -------------------------------------------------------------------------------------- |
| config | CalendarDatePicker2Config | Calendar UI related configurations |
| value | List\<DateTime?\> | The selected [DateTime]s that the picker should display. |
| onValueChanged | ValueChanged<List<DateTime>>? | Called when the selected dates changed |
| displayedMonthDate | DateTime? | Date to control calendar displayed month |
| onDisplayedMonthChanged | ValueChanged\<DateTime\>? | Called when the user navigates to a new month/year in the picker under non-scroll mode |
| Argument | Type | Description |
| ----------------------- | ------------------------------- | -------------------------------------------------------------------------------------- |
| config | CalendarDatePicker2Config | Calendar UI related configurations |
| value | List\<DateTime?\> | The selected [DateTime]s that the picker should display. |
| onValueChanged | ValueChanged<List\<DateTime\>>? | Called when the selected dates changed |
| displayedMonthDate | DateTime? | Date to control calendar displayed month |
| onDisplayedMonthChanged | ValueChanged\<DateTime\>? | Called when the user navigates to a new month/year in the picker under non-scroll mode |

### For CalendarDatePicker2Config:

Expand Down
6 changes: 3 additions & 3 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.1.3"
version: "1.1.4"
characters:
dependency: transitive
description:
Expand All @@ -39,7 +39,7 @@ packages:
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
url: "https://pub.dev"
source: hosted
version: "1.1.3"
version: "1.1.4"
collection:
dependency: transitive
description:
Expand All @@ -55,7 +55,7 @@ packages:
sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be
url: "https://pub.dev"
source: hosted
version: "1.1.3"
version: "1.1.4"
fake_async:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: calendar_date_picker2
description: A lightweight and customizable calendar picker based on Flutter CalendarDatePicker, with support for single date picker, range picker and multi picker.
version: 1.1.3
version: 1.1.4
homepage: https://github.com/theideasaler/calendar_date_picker2

environment:
Expand Down

0 comments on commit de40c56

Please sign in to comment.