selectionCount property

int get selectionCount

Returns the number of selected items.

Implementation

int get selectionCount => selectedItems.length;