date_field/README.md

24 lines
919 B
Markdown
Raw Normal View History

2020-03-01 22:16:29 +00:00
# date_field
2020-03-01 22:29:41 +00:00
Contains DateField and DateFormField!
2020-03-01 22:16:29 +00:00
## Getting Started
2020-03-01 22:29:41 +00:00
Just to let you know, this is how it looks like without any customization:
2020-03-01 22:16:29 +00:00
2020-03-01 22:30:42 +00:00
<img src='https://raw.githubusercontent.com/GaspardMerten/date_field/master/example/example.png' height='150px'></img>
2020-03-01 22:29:41 +00:00
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:
2020-03-01 22:32:31 +00:00
<i>onSaved, validator, initialValue, autovalidate, enabled, firstDate, lastDate, label, dateFormat, decoration, initialDatePickerMode</i>