MultiSelectionDropdownWidget constructor

const MultiSelectionDropdownWidget({
  1. Key? key,
  2. required FutureOr<List<DropDownModel>> data,
  3. required ValueNotifier<List<DropDownModel>> listener,
  4. required String label,
  5. required ValueChanged<List<DropDownModel>>? onSelected,
  6. String? validator(
    1. List<DropDownModel>?
    )?,
  7. bool showSearchBox = false,
  8. int maxOptions = 10,
  9. bool enabled = true,
})

Implementation

const MultiSelectionDropdownWidget({
  super.key,
  required this.data,
  required this.listener,
  required this.label,
  required this.onSelected,
  this.validator,
  this.showSearchBox = false,
  this.maxOptions = 10,
  this.enabled = true,
});