SearchableDropdown<T> constructor

SearchableDropdown<T>({
  1. Key? key,
  2. Widget? hintText,
  3. Widget backgroundDecoration(
    1. Widget child
    )?,
  4. String? searchHintText,
  5. Widget? noRecordText,
  6. double? dropDownMaxHeight,
  7. EdgeInsetsGeometry? margin,
  8. Widget? trailingIcon,
  9. Widget? leadingIcon,
  10. void onChanged(
    1. T? value
    )?,
  11. List<SearchableDropdownMenuItem<T>>? items,
  12. T? value,
  13. bool isEnabled = true,
  14. VoidCallback? disabledOnTap,
})

Implementation

SearchableDropdown({
  Key? key,
  this.hintText,
  this.backgroundDecoration,
  this.searchHintText,
  this.noRecordText,
  this.dropDownMaxHeight,
  this.margin,
  this.trailingIcon,
  this.leadingIcon,
  this.onChanged,
  this.items,
  this.value,
  this.isEnabled = true,
  this.disabledOnTap,
}) : super(key: key);