selectedValues property

List<String> selectedValues

Gets or sets the selected values in the list.

Multiple values will be selected only when multiSelect property is enabled, Otherwise only the first value in the collection will be selected.

Implementation

List<String> get selectedValues => _helper.selectedValues;
void selectedValues=(List<String> value)

Implementation

set selectedValues(List<String> value) {
  _helper.selectedValues =
      multiSelect || value.isEmpty ? value : <String>[value[0]];
}