XDataTable<T> constructor

XDataTable<T>({
  1. required List<T> items,
  2. DataTableDelegate<T>? delegate,
  3. DataTableSortor<T>? sorter,
  4. DataTableSelector<T>? selector,
  5. void onRowLongPress(
    1. T
    )?,
  6. void onRowSecondaryTap(
    1. T
    )?,
  7. void onRowDoubleTap(
    1. T
    )?,
})

Implementation

XDataTable({required this.items, this.delegate, this.sorter, this.selector, this.onRowLongPress, this.onRowSecondaryTap, this.onRowDoubleTap}) : super() {
  this.delegate?.attach(this);
  this.sorter?.attach(this);
  this.selector?.attach(this);
}