FormBuilderDateTimePicker constructor
FormBuilderDateTimePicker({@required String attribute, List<FormFieldValidator> validators: const [], bool readonly: false, InputType inputType: InputType.both, DateTime initialValue, DateFormat format, DateTime firstDate, DateTime lastDate, InputDecoration decoration: const InputDecoration(), bool editable: true, ValueChanged<DateTime> onChanged, IconData resetIcon: Icons.close, DateTime initialDate, TimeOfDay initialTime: const TimeOfDay(hour: 12, minute: 0), FormFieldValidator<DateTime> validator, FormFieldSetter<DateTime> onSaved, ValueChanged<DateTime> onFieldSubmitted, bool autovalidate: false, DatePickerMode initialDatePickerMode, Locale locale, bool selectableDayPredicate(DateTime), TextDirection textDirection, TextEditingController controller, FocusNode focusNode, TextInputType keyboardType: TextInputType.text, TextStyle style, TextAlign textAlign: TextAlign.start, bool autofocus: false, bool obscureText: false, bool autocorrect: true, bool maxLengthEnforced: true, bool enabled, int maxLines: 1, int maxLength, List<TextInputFormatter> inputFormatters })
Implementation
FormBuilderDateTimePicker({
@required this.attribute,
this.validators = const [],
this.readonly = false,
this.inputType = InputType.both,
this.initialValue,
this.format,
this.firstDate,
this.lastDate,
this.decoration = const InputDecoration(),
this.editable = true,
this.onChanged,
this.resetIcon = Icons.close,
this.initialDate,
this.initialTime = const TimeOfDay(hour: 12, minute: 0),
this.validator,
this.onSaved,
this.onFieldSubmitted,
this.autovalidate = false,
this.initialDatePickerMode,
this.locale,
this.selectableDayPredicate,
this.textDirection,
this.controller,
this.focusNode,
this.keyboardType = TextInputType.text,
this.style,
this.textAlign = TextAlign.start,
this.autofocus = false,
this.obscureText = false,
this.autocorrect = true,
this.maxLengthEnforced = true,
this.enabled,
this.maxLines = 1,
this.maxLength,
this.inputFormatters,
});