Number of deselected items.
Is selection indeterminate?
List of original items to set up selection for.
ReadonlyonTriggers whenever any selection change happen.
ReadonlyonTriggers when an item is deselected.
ReadonlyonTriggers when all items are deselected. Only when Selection.deselectAll is called.
ReadonlyonTriggers when an item is selected.
ReadonlyonTriggers when all items are selected. Only when Selection.selectAll is called.
ReadonlypkItem unique property key to store selection by.
Number of selected items.
Selection dict.
This is where we keep which item is selected (value true) and which item is not (value not true).
List of original items that are selected
Same as selectedItems but returns IDs only.
Update selected and deselected numbers. Also update indeterminate status.
Deselect an item.
to deselect.
Whether to generate counts (default is true).
Deselect all items.
PrivategetReset all selection and update the count.
Select an item.
to select.
Whether to generate counts (default is true).
Select all items.
Select all if selection is indeterminate or no item is selected otherwise deselect all.
Toggle an item selection status.
to toggle selection.
Whether to generate counts (default is true).
Takes a list of items and handles selection for them.