XDataTable<T> constructor
XDataTable<T> ({
- required List<
T> items, - DataTableDelegate<
T> ? delegate, - DataTableSortor<
T> ? sorter, - DataTableSelector<
T> ? selector, - void onRowLongPress(
- T
- void onRowSecondaryTap(
- T
- void onRowDoubleTap(
- 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);
}