FormBuilderInput.datePicker constructor
FormBuilderInput.datePicker({@required InputDecoration decoration, @required String attribute, bool readonly: false, DateTime firstDate, DateTime lastDate, dynamic max, String format, dynamic value, bool require: false, FormFieldValidator validator })
Implementation
FormBuilderInput.datePicker({
@required this.decoration,
@required this.attribute,
this.readonly = false,
// @Deprecated('Use attribute: min')
this.firstDate,
// this.min,
// @Deprecated('Use attribute: max')
this.lastDate,
this.max,
this.format,
this.value,
this.require = false,
this.validator,
}) /*: assert(min == null || min is DateTime),
assert(max == null || max is DateTime),
assert(min == null || firstDate == null),
assert(max == null || lastDate == null)*/
{
type = FormBuilderInput.TYPE_DATE_PICKER;
}