AutoComplete constructor

const AutoComplete({
  1. Key? key,
  2. bool allowClear = false,
  3. bool autoFocus = false,
  4. bool backfill = false,
  5. List<Widget>? chidlren,
  6. bool defaultActiveFirstOption = true,
  7. bool? defaultOpen,
  8. String? defaultValue,
  9. bool disabled = false,
  10. double? dropdownMatchSelectWidth,
  11. bool filterOption = true,
  12. Widget getPopupContainer()?,
  13. Widget? notFoundContent,
  14. bool? open,
  15. List<Map<String, String>>? options,
  16. String? placeholder,
  17. AutoCompleteStatus? status,
  18. String? value,
  19. void onBlur()?,
  20. void onChange(
    1. String value
    )?,
  21. void onDropdownVisibleChange(
    1. bool open
    )?,
  22. void onFocus()?,
  23. void onSearch(
    1. String value
    )?,
  24. void onSelect(
    1. String value,
    2. Map<String, String> option
    )?,
  25. void onClear()?,
})

Implementation

const AutoComplete(
    {Key? key,
    this.allowClear = false,
    this.autoFocus = false,
    this.backfill = false,
    this.chidlren,
    this.defaultActiveFirstOption = true,
    this.defaultOpen,
    this.defaultValue,
    this.disabled = false,
    this.dropdownMatchSelectWidth,
    this.filterOption = true,
    this.getPopupContainer,
    this.notFoundContent,
    this.open,
    this.options,
    this.placeholder,
    this.status,
    this.value,
    this.onBlur,
    this.onChange,
    this.onDropdownVisibleChange,
    this.onFocus,
    this.onSearch,
    this.onSelect,
    this.onClear})
    : super(key: key);