FormBuilderInput.dateTimePicker constructor

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

Implementation

FormBuilderInput.dateTimePicker({
  @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_TIME_PICKER;
}