diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 0dfe731..456c3e7 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -15,10 +15,10 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.0+1 +version: 1.1.0+1 environment: - sdk: ">=2.12.0 <3.0.0" + sdk: ">=2.17.0 <3.0.0" dependencies: flutter: @@ -26,14 +26,14 @@ dependencies: flutter_localizations: sdk: flutter - intl: ^0.17.0 + intl: ^0.19.0 - date_time_picker: #^2.1.0 + date_time_picker: #^2.1.1 path: ../ # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^0.1.3 + cupertino_icons: ^1.0.5 dev_dependencies: flutter_test: diff --git a/lib/date_time_picker.dart b/lib/date_time_picker.dart index 0ea0dfc..4014b88 100644 --- a/lib/date_time_picker.dart +++ b/lib/date_time_picker.dart @@ -133,7 +133,7 @@ class DateTimePicker extends FormField { /// to [initialValue] or the empty string. /// /// For documentation about the various parameters, see the [TextField] class - /// and [new TextField], the constructor. + /// and [TextField], the constructor. DateTimePicker({ Key? key, this.type = DateTimePickerType.date, @@ -177,7 +177,7 @@ class DateTimePicker extends FormField { TextAlignVertical? textAlignVertical, bool autofocus = false, bool readOnly = false, - ToolbarOptions? toolbarOptions, + //ToolbarOptions? toolbarOptions, bool showCursor = false, bool obscureText = false, bool autocorrect = true, @@ -306,7 +306,7 @@ class DateTimePicker extends FormField { //textDirection: textDirection, textCapitalization: textCapitalization, autofocus: autofocus, - toolbarOptions: toolbarOptions, + //toolbarOptions: toolbarOptions, showCursor: showCursor, obscureText: obscureText, autocorrect: autocorrect, diff --git a/pubspec.yaml b/pubspec.yaml index 580eb4b..c9e0764 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,16 +1,16 @@ name: date_time_picker description: A Flutter widget to display a date time form field to show a date or clock dialog. -version: 2.1.0 +version: 2.1.2 homepage: https://github.com/m3uzz/date_time_picker environment: - sdk: ">=2.12.0 <3.0.0" + sdk: ">=2.17.0 <3.0.0" dependencies: flutter: sdk: flutter - intl: ^0.17.0 + intl: ^0.20.2 dev_dependencies: flutter_test: