Skip to content

Commit

Permalink
Merge pull request #201 from theideasaler/release
Browse files Browse the repository at this point in the history
release:v1.1.5
  • Loading branch information
theideasaler authored Jun 24, 2024
2 parents 7346777 + 322e394 commit bde1532
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [1.1.5]
- refactor: add `isMonthPicker` into `CalendarModePickerTextHandler`
- feat: add `weekdayLabelBuilder` into config
- feat: add `modePickerBuilder` into config

## [1.1.4]
- fix: update README.md

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.1.4-blue)](https://pub.dev/packages/calendar_date_picker2)
[![Pub Package](https://img.shields.io/badge/pub-v1.1.5-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.4
calendar_date_picker2: ^1.1.5
```
### Basic setup
Expand Down Expand Up @@ -143,6 +143,7 @@ var results = await showCalendarDatePicker2Dialog(
| animateToDisplayedMonthDate | bool? | Flag to always animate to the displayedMonthDate |
| weekdayLabels | List\<String\>? | Custom weekday labels, should starts with Sunday |
| weekdayLabelTextStyle | TextStyle? | Custom text style for weekday labels |
| weekdayLabelBuilder | CalendarWeekdayLabelBuilder? | Function to provide full control over weekday label widget |
| firstDayOfWeek | int? | Index of the first day of week, where 0 points to Sunday, and 6 points to Saturday. |
| lastMonthIcon | Widget? | Custom icon for last month button control |
| nextMonthIcon | Widget? | Custom icon for next month button control |
Expand All @@ -151,6 +152,7 @@ var results = await showCalendarDatePicker2Dialog(
| centerAlignModePicker | bool? | Flag to centralize year and month text label in controls |
| disableModePicker | bool? | Flag to disable mode picker and hide the toggle icon |
| modePickerTextHandler | CalendarModePickerTextHandler? | Function to control mode picker displayed text |
| modePickerBuilder | CalendarModePickerBuilder? | Function to provide full control over mode picker UI |
| customModePickerIcon | Widget? | Custom icon for the mode picker button icon |
| modePickerTextHandler | CalendarModePickerTextHandler? | Function to control mode picker displayed text |
| useAbbrLabelForMonthModePicker | bool? | Use Abbreviation label for month mode picker, only works when month picker is enabled |
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.4"
version: "1.1.5"
characters:
dependency: transitive
description:
Expand All @@ -39,7 +39,7 @@ packages:
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
url: "https://pub.dev"
source: hosted
version: "1.1.4"
version: "1.1.5"
collection:
dependency: transitive
description:
Expand All @@ -55,7 +55,7 @@ packages:
sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be
url: "https://pub.dev"
source: hosted
version: "1.1.4"
version: "1.1.5"
fake_async:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion lib/src/models/calendar_date_picker2_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class CalendarDatePicker2Config {
/// Function to control mode picker displayed text
final CalendarModePickerTextHandler? modePickerTextHandler;

/// Custom builder for the mode picker widget
/// Function to provide full control over mode picker UI
final CalendarModePickerBuilder? modePickerBuilder;

/// Whether the range selection can be also made in reverse-chronological order.
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.4
version: 1.1.5
homepage: https://github.com/theideasaler/calendar_date_picker2

environment:
Expand Down

0 comments on commit bde1532

Please sign in to comment.