BlocxCollectionStateScrollToItem<T extends BlocxBaseEntity> constructor

const BlocxCollectionStateScrollToItem<T extends BlocxBaseEntity>({
  1. required T item,
  2. required int index,
})

Implementation

const BlocxCollectionStateScrollToItem({required this.item, required this.index})
    : super(
        list: const [],
        hasReachedEnd: false,
        isLoadingNextPage: false,
        isRefreshing: false,
        isSearching: false,
        shouldRebuild: false,
        shouldListen: true,
      );