DbLensTableView constructor

const DbLensTableView({
  1. Key? key,
  2. required List<Map<String, Object?>> rows,
  3. required List<String> columns,
  4. int rowNumberStart = 1,
  5. String? sortColumn,
  6. bool sortAscending = true,
  7. ValueChanged<String>? onSort,
  8. void onRowTap(
    1. Map<String, Object?> row
    )?,
  9. void onCellLongPress(
    1. String column,
    2. Map<String, Object?> row
    )?,
  10. void onIndexLongPress(
    1. Map<String, Object?> row
    )?,
})

Implementation

const DbLensTableView({
  super.key,
  required this.rows,
  required this.columns,
  this.rowNumberStart = 1,
  this.sortColumn,
  this.sortAscending = true,
  this.onSort,
  this.onRowTap,
  this.onCellLongPress,
  this.onIndexLongPress,
});