ArcaneCombobox<T> constructor

const ArcaneCombobox<T>({
  1. required List<ComboboxOption<T>> options,
  2. T? value,
  3. void onChanged(
    1. T?
    )?,
  4. String? placeholder,
  5. String? searchPlaceholder,
  6. bool searchable = true,
  7. String displayValue(
    1. T
    )?,
  8. bool filterFn(
    1. ComboboxOption<T>,
    2. String
    )?,
  9. String emptyMessage = 'No results found',
  10. bool disabled = false,
  11. String? error,
  12. String? label,
  13. ComboboxSize size = ComboboxSize.md,
  14. Key? key,
})

Implementation

const ArcaneCombobox({
  required this.options,
  this.value,
  this.onChanged,
  this.placeholder,
  this.searchPlaceholder,
  this.searchable = true,
  this.displayValue,
  this.filterFn,
  this.emptyMessage = 'No results found',
  this.disabled = false,
  this.error,
  this.label,
  this.size = ComboboxSize.md,
  super.key,
});