Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ 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:
sdk: flutter
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:
Expand Down
6 changes: 3 additions & 3 deletions lib/date_time_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class DateTimePicker extends FormField<String> {
/// 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,
Expand Down Expand Up @@ -177,7 +177,7 @@ class DateTimePicker extends FormField<String> {
TextAlignVertical? textAlignVertical,
bool autofocus = false,
bool readOnly = false,
ToolbarOptions? toolbarOptions,
//ToolbarOptions? toolbarOptions,
bool showCursor = false,
bool obscureText = false,
bool autocorrect = true,
Expand Down Expand Up @@ -306,7 +306,7 @@ class DateTimePicker extends FormField<String> {
//textDirection: textDirection,
textCapitalization: textCapitalization,
autofocus: autofocus,
toolbarOptions: toolbarOptions,
//toolbarOptions: toolbarOptions,
showCursor: showCursor,
obscureText: obscureText,
autocorrect: autocorrect,
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down