SearchableDropdownFormField constructor

SearchableDropdownFormField({
  1. Key? key,
  2. required List items,
  3. String? hintText,
  4. TextStyle? textStyle,
  5. required dynamic onChanged(
    1. String?
    ),
  6. required dynamic onSelected(
    1. dynamic
    ),
  7. required List<Widget> childWidget,
  8. required String value,
  9. String? validator(
    1. String?
    )?,
  10. double? width,
  11. Widget? suffixWidget,
  12. int? contentPadding,
  13. bool? readOnly,
  14. InputDecoration? inputDecoration,
})

Implementation

SearchableDropdownFormField({super.key,
  required this.items,
  this.hintText,
  this.textStyle,
  required this.onChanged,
  required this.onSelected,
  required this.childWidget,
  required this.value,
  this.validator,
  this.width,
  this.suffixWidget,
  this.contentPadding,
  this.readOnly,
  this.inputDecoration,

});