FormBuilderDateRangePicker constructor
FormBuilderDateRangePicker({Key key, @required String attribute, @required DateTime firstDate, @required DateTime lastDate, @required DateFormat format, List<DateTime> initialValue, List<FormFieldValidator> validators: const [], bool readOnly: false, InputDecoration decoration: const InputDecoration(), bool autovalidate: false, int maxLines: 1, bool obscureText: false, TextCapitalization textCapitalization: TextCapitalization.none, EdgeInsets scrollPadding: const EdgeInsets.all(20.0), bool enabled: true, bool enableInteractiveSelection: true, bool maxLengthEnforced: true, TextAlign textAlign: TextAlign.start, bool autofocus: false, bool autocorrect: true, double cursorWidth: 2.0, TextInputType keyboardType, TextStyle style, TextEditingController controller, FocusNode focusNode, TextInputAction textInputAction, StrutStyle strutStyle, TextDirection textDirection, int maxLength, VoidCallback onEditingComplete, ValueChanged<String> onFieldSubmitted, List<TextInputFormatter> inputFormatters, Radius cursorRadius, Color cursorColor, Brightness keyboardAppearance, InputCounterWidgetBuilder buildCounter, ValueChanged onChanged ValueTransformer valueTransformer, bool expands: false, int minLines, bool showCursor, DateTime initialFirstDate, DateTime initialLastDate, DatePickerMode initialDatePickerMode: DateRangePicker.DatePickerMode.day, Locale locale, SelectableDayPredicate selectableDayPredicate, FormFieldSetter onSaved })
Implementation
FormBuilderDateRangePicker({
Key key,
@required this.attribute,
@required this.firstDate,
@required this.lastDate,
@required this.format,
this.initialValue,
this.validators = const [],
this.readOnly = false,
this.decoration = const InputDecoration(),
this.autovalidate = false,
this.maxLines = 1,
this.obscureText = false,
this.textCapitalization = TextCapitalization.none,
this.scrollPadding = const EdgeInsets.all(20.0),
this.enabled = true,
this.enableInteractiveSelection = true,
this.maxLengthEnforced = true,
this.textAlign = TextAlign.start,
this.autofocus = false,
this.autocorrect = true,
this.cursorWidth = 2.0,
this.keyboardType,
this.style,
this.controller,
this.focusNode,
this.textInputAction,
this.strutStyle,
this.textDirection,
this.maxLength,
this.onEditingComplete,
this.onFieldSubmitted,
this.inputFormatters,
this.cursorRadius,
this.cursorColor,
this.keyboardAppearance,
this.buildCounter,
this.onChanged,
this.valueTransformer,
this.expands = false,
this.minLines,
this.showCursor,
this.initialFirstDate,
this.initialLastDate,
this.initialDatePickerMode = DateRangePicker.DatePickerMode.day,
this.locale,
this.selectableDayPredicate,
this.onSaved,
}) : super(key: key);