MultiSelectDropDown<int> constructor
const
MultiSelectDropDown<int> ({
- Key? key,
- required OnOptionSelect<
int> ? onOptionSelected, - required List<
DropdownItem> options, - ChipConfig chipConfig = const ChipConfig(),
- SelectionType selectionType = SelectionType.multiSelect,
- List<
DropdownItem> selectedOptions = const [], - IconData? suffixIcon = Icons.arrow_drop_down,
- FocusNode? focusNode,
- MultiSelectController<
int> ? controller, - bool isDisabled = false,
- String clearAllText = 'Clear All',
- List<
ValueMapper> ? valueMapper, - String? helpText,
- String? errorMessage,
- 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);