Go to file
2020-07-19 16:49:06 +02:00
example Adding support for time 2020-07-19 16:49:06 +02:00
lib Adding support for time 2020-07-19 16:49:06 +02:00
.gitignore Init commit 2020-03-01 23:16:40 +01:00
.metadata Init commit 2020-03-01 23:16:40 +01:00
analysis_options.yaml DateFormField from StatelessWidget to FormField + fixing theming 2020-07-14 16:30:59 +02:00
CHANGELOG.md Adding support for time 2020-07-19 16:49:06 +02:00
LICENSE Updating readme.md 2020-03-01 23:29:41 +01:00
pubspec.lock Updating readme.md 2020-03-01 23:29:41 +01:00
pubspec.yaml Formatting with dart-fm 2020-07-15 18:55:02 +02:00
README.md Formatting with dartfm 2020-03-01 23:34:26 +01:00

date_field

Contains DateField and DateFormField which allows the user to pick a DateTime from an input field!

Getting Started

Just to let you know, this is how it looks like without any customization:

The best way to discover this package is simply to check the example page!

There are two widgets in this package:

  • DateField
  • DateFormField

The second one is wrapping the first one with a FormField widget! This way you can integrate it in your form structure flawlessly.

The DateField widget returns an InputDecorator with an Inkwell which will display a date picker (platform responsive) which allows the user to select the date he wants!

You can customize the widget a lot thanks to these parameters:

onSaved, validator, initialValue, autovalidate, enabled, firstDate, lastDate, label, dateFormat, decoration, initialDatePickerMode