TListState<T, K> constructor
const
TListState<T, K> ({
- required LinkedHashSet<
K> selectedKeys, - required LinkedHashSet<
K> expandedKeys, - required List<
TListItem< displayItems,T, K> > - required int page,
- required int itemsPerPage,
- required int totalItems,
- required bool loading,
- required bool hasMoreItems,
- required String search,
- TListError? error,
- String? currentCursor,
- String? nextCursor,
- List<
String> cursorHistory = const [], - 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,
});