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:
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
Comments are closed.