ListStateExtensions<T extends BlocxBaseEntity> extension

on

Properties

hasSelection bool

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

no setter
isBusy bool

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

Useful for quick guards in UI
no setter
selectedCount int

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

no setter
selectedItems List<T>

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

no setter

Methods

firstSelectedItemOrNull() → T?

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

indexOfId(String id) int

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

isBeingRemoved(T item) bool

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

isBeingRemovedId(String id) bool

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

isBeingSelected(T item) bool

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

isBeingSelectedId(String id) bool

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

isExpanded(T item) bool

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

isHighlighted(T item) bool

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

isHighlightedId(String id) bool

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

isSelected(T item) bool

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension

isSelectedId(String id) bool

Available on BlocxCollectionState<T>, provided by the ListStateExtensions extension