FormBuilderInput.datePicker constructor

FormBuilderInput.datePicker({@required String label, @required String attribute, bool readonly: false, String hint, DateTime firstDate, DateTime lastDate, String format, dynamic value, bool require: false, FormFieldValidator validator })

Implementation

FormBuilderInput.datePicker({
  @required this.label,
  @required this.attribute,
  this.readonly = false,
  this.hint,
  this.firstDate,
  this.lastDate,
  this.format,
  this.value,
  this.require = false,
  this.validator,
}) {
  type = FormBuilderInput.TYPE_DATE_PICKER;
}