DropdownProps<T> constructor

const DropdownProps<T>({
  1. List<SelectData<T>> options = const [],
  2. bool multiple = false,
  3. bool alwaysRefresh = false,
  4. bool filterable = false,
  5. bool remote = false,
  6. Future<List<SelectData<T>>> remoteSearch(
    1. String
    )?,
  7. bool showAdd = false,
  8. bool showClear = false,
  9. VoidCallback? onClear,
  10. Future<bool?> onAdd(
    1. String
    )?,
  11. String tips = '',
  12. void onSingleChanged(
    1. dynamic,
    2. T,
    3. SelectData<T>
    )?,
  13. void onMultipleChanged(
    1. List,
    2. List<T>,
    3. List<SelectData<T>>
    )?,
})

Implementation

const DropdownProps({
  this.options = const [],
  this.multiple = false,
  this.alwaysRefresh = false,
  this.filterable = false,
  this.remote = false,
  this.remoteSearch,
  this.showAdd = false,
  this.showClear = false,
  this.onClear,
  this.onAdd,
  this.tips = '',
  this.onSingleChanged,
  this.onMultipleChanged,
});