TListState<T, K> constructor

const TListState<T, K>({
  1. required LinkedHashSet<K> selectedKeys,
  2. required LinkedHashSet<K> expandedKeys,
  3. required List<TListItem<T, K>> displayItems,
  4. required int page,
  5. required int itemsPerPage,
  6. required int totalItems,
  7. required bool loading,
  8. required bool hasMoreItems,
  9. required String search,
  10. TListError? error,
  11. String? currentCursor,
  12. String? nextCursor,
  13. List<String> cursorHistory = const [],
  14. Map<String, dynamic>? advancedSearch,
})

Implementation

const TListState({
  required this.selectedKeys,
  required this.expandedKeys,
  required this.displayItems,
  required this.page,
  required this.itemsPerPage,
  required this.totalItems,
  required this.loading,
  required this.hasMoreItems,
  required this.search,
  this.error,
  this.currentCursor,
  this.nextCursor,
  this.cursorHistory = const [],
  this.advancedSearch,
});