SelectionModel<T>.multi constructor
SelectionModel<T>.multi ({
- List<
T> selectedValues, - KeyProvider<
T> ? keyProvider,
Creates a multi-selection model.
keyProvider
is used for equality checking. For example, select will
only alter the set of selected values if the key of the new value is not
among the keys of the already selected values.
Implementation
factory SelectionModel.multi(
{List<T> selectedValues,
KeyProvider<T>? keyProvider}) = MultiSelectionModel<T>;