Skip to content

Commit

Permalink
New version of the package
Browse files Browse the repository at this point in the history
  • Loading branch information
hslbetto committed Mar 9, 2021
1 parent 00e5697 commit e7ca93a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
## 2.0.0 - 2021-03-09

* Migrate to null safety.
* Update SDK constraints to >=2.12.0 <3.0.0 based on beta release guidelines.
* Updata intl version dependency.
* Add 2 optional params, initialDate and initialTime to set date picker and time picker to show date and time diferent of now, when initialValue is empty.

## 1.1.1 - 2020-12-29

* Removing flutter_localizations dependency
* Removing flutter_localizations dependency.

## 1.1.0 - 2020-11-12

Expand All @@ -12,9 +19,9 @@

## 1.0.1 - 2020-08-18

* Fix issue #2 - just reference in README.md
* Fix issue #2 - just reference in README.md.
* Fix issue #3 - filling the time field when press Ok button on time picker dialog without select a specific time, getting the current time showed.
* Fix problems when initialValue is empty
* Fix problems when initialValue is empty.

## 1.0.0 - 2020-07-22

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ In the `pubspec.yaml` of your flutter project, add the following dependency:
```yaml
dependencies:
...
date_time_picker: "^1.1.1"
date_time_picker: "^2.0.0"
```
In your library add the following import:
Expand Down
9 changes: 5 additions & 4 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ">=2.12.0-0 <3.0.0"
sdk: ">=2.12.0 <3.0.0"

dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
intl: ^0.17.0-nullsafety.2

intl: ^0.17.0

date_time_picker:
path: ..
date_time_picker: #^2.0.0
path: ../

# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
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: date_time_picker
description: A Flutter widget to display a date time form field to show a date or clock dialog.
version: 1.2.0
version: 2.0.0
homepage: https://github.com/m3uzz/date_time_picker

environment:
Expand Down

0 comments on commit e7ca93a

Please sign in to comment.