currentItems property
Current items that will be shown in the dropdown menu, see also _currentItemValues
.
Implementation
@override
List<DropdownItem<T>> get currentItems => _currentItemValues
.map((e) => DropdownItem(
value: e,
selected: _selectedItems.contains(e),
))
.toList();