date field

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

Getting Started date field

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

date field

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


Download the full project for this post from the following button

This source is fully free for all time

Download as zip

Comments are closed.

You're Offline!