TTable<T, K> constructor

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

Implementation

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