Skip to content

Commit

Permalink
Merge pull request #169 from theideasaler/release
Browse files Browse the repository at this point in the history
feat: release v1.0.1
  • Loading branch information
theideasaler authored May 4, 2024
2 parents cd55600 + 25177f5 commit 5d15522
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## [1.0.1]

- doc: update README.md

## [1.0.0]

- BREAKING: feat: add month picker
- feat: add `monthBuilder` into config
- feat: add `disableMonthPicker` into config
- feat: add `useAbbrLabelForMonthModePicker` into config
- feat: add `selectableMonthPredicate` into config
Expand Down
6 changes: 4 additions & 2 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.0.0-blue)](https://pub.dev/packages/calendar_date_picker2)
[![Pub Package](https://img.shields.io/badge/pub-v1.0.1-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 @@ -28,6 +28,7 @@ CalendarDatePicker2 consists of two main widgets:
- Support of Material 3

## Migrate from 0.x.x

Version 1.x.x will by default enable month picker. If you want to migrate to v1.x.x from v0.x.x and would like to keep the old behavior, you will need to set `disableMonthPicker` to `true`.

## How to use
Expand All @@ -40,7 +41,7 @@ Add the following line to `pubspec.yaml`:

```yaml
dependencies:
calendar_date_picker2: ^1.0.0
calendar_date_picker2: ^1.0.1
```
### Basic setup
Expand Down Expand Up @@ -166,6 +167,7 @@ var results = await showCalendarDatePicker2Dialog(
| calendarViewScrollPhysics | ScrollPhysics? | The scroll physics for the calendar month view |
| disableMonthPicker | bool? | Flag to disable month picker |
| useAbbrLabelForMonthModePicker | bool? | Use Abbreviation label for month mode picker, only works when month picker is enabled |
| monthBuilder | CalendarMonthBuilder? | Function to provide full control over month widget UI |

### In addition to the configurations above, CalendarDatePicker2WithActionButtonsConfig has 9 extra options

Expand Down
2 changes: 1 addition & 1 deletion 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.0.0"
version: "1.0.1"
characters:
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.0.0
version: 1.0.1
homepage: https://github.com/theideasaler/calendar_date_picker2

environment:
Expand Down

0 comments on commit 5d15522

Please sign in to comment.