BlocxCollectionStateLoading<T extends BlocxBaseEntity> constructor

const BlocxCollectionStateLoading<T extends BlocxBaseEntity>({
  1. List<T> list = const [],
  2. bool hasReachedEnd = false,
  3. bool isLoadingNextPage = false,
  4. bool isRefreshing = false,
  5. bool isSearching = false,
  6. Set<String> selectedItemIds = const {},
  7. Set<String> beingSelectedItemIds = const {},
  8. Set<String> highlightedItemIds = const {},
  9. Set<String> beingRemovedItemIds = const {},
})

Implementation

const BlocxCollectionStateLoading({
  super.list = const [],
  super.hasReachedEnd = false,
  super.isLoadingNextPage = false,
  super.isRefreshing = false,
  super.isSearching = false,
  super.selectedItemIds = const {},
  super.beingSelectedItemIds = const {},
  super.highlightedItemIds = const {},
  super.beingRemovedItemIds = const {},
}) : super(shouldRebuild: true, shouldListen: false);