FormBuilderDropdown constructor

FormBuilderDropdown({@required String attribute, @required List<DropdownMenuItem> items, List<FormFieldValidator> validators: const [], bool readonly: false, InputDecoration decoration: const InputDecoration(), bool isExpanded: true, bool isDense: false, int elevation: 8, double iconSize: 24.0, Widget hint, dynamic initialValue, TextStyle style, Widget disabledHint, ValueChanged onChanged })

Implementation

FormBuilderDropdown({
  @required this.attribute,
  @required this.items,
  this.validators = const [],
  this.readonly = false,
  this.decoration = const InputDecoration(),
  this.isExpanded = true,
  this.isDense = false,
  this.elevation = 8,
  this.iconSize = 24.0,
  this.hint,
  this.initialValue,
  this.style,
  this.disabledHint,
  this.onChanged,
});