WebDataTable<T> constructor

const WebDataTable<T>({
  1. Key? key,
  2. required List<T> items,
  3. required List<WebTableColumn<T>> columns,
  4. void onRowTap(
    1. T item
    )?,
  5. void onRowSecondaryTap(
    1. T item,
    2. TapDownDetails details
    )?,
  6. String? onSort(
    1. T item
    )?,
})

Implementation

const WebDataTable({
  super.key,
  required this.items,
  required this.columns,
  this.onRowTap,
  this.onRowSecondaryTap,
  this.onSort,
});