MultiSelectDropDown<int> constructor

const MultiSelectDropDown<int>({
  1. Key? key,
  2. required OnOptionSelect<int>? onOptionSelected,
  3. required List<DropdownItem> options,
  4. ChipConfig chipConfig = const ChipConfig(),
  5. SelectionType selectionType = SelectionType.multiSelect,
  6. List<DropdownItem> selectedOptions = const [],
  7. IconData? suffixIcon = Icons.arrow_drop_down,
  8. FocusNode? focusNode,
  9. MultiSelectController<int>? controller,
  10. bool isDisabled = false,
  11. String clearAllText = 'Clear All',
  12. List<ValueMapper>? valueMapper,
  13. String? helpText,
  14. String? errorMessage,
  15. bool readOnly = false,
})

Implementation

const MultiSelectDropDown({
  Key? key,
  required this.onOptionSelected,
  required this.options,
  this.chipConfig = const ChipConfig(),
  this.selectionType = SelectionType.multiSelect,
  this.selectedOptions = const [],
  this.suffixIcon = Icons.arrow_drop_down,
  this.focusNode,
  this.controller,
  this.isDisabled = false,
  this.clearAllText = 'Clear All',
  this.valueMapper,
  this.helpText,
  this.errorMessage,
  this.readOnly = false,
}) : super(key: key);