TTable<T, K> constructor

const TTable<T, K>({
  1. Key? key,
  2. required List<TTableHeader<T>> headers,
  3. TTableTheme? theme,
  4. TListInteraction<T>? interaction,
  5. List<T>? items,
  6. int? itemsPerPage,
  7. String? search,
  8. int? searchDelay,
  9. TLoadListener<T>? onLoad,
  10. ItemKeyAccessor<T, K>? itemKey,
  11. TListController<T, K>? controller,
  12. Widget expandedBuilder(
    1. T item,
    2. int index
    )?,
})

Implementation

const TTable({
  super.key,
  required this.headers,
  this.theme,
  this.interaction,
  //List
  this.items,
  this.itemsPerPage,
  this.search,
  this.searchDelay,
  this.onLoad,
  this.itemKey,
  this.controller,
  //Expandable
  this.expandedBuilder,
});