InMemoryTable constructor

const InMemoryTable({
  1. Key? key,
  2. required List<String> columns,
  3. required List<List<String>> rows,
  4. double maxHeight = 420,
  5. bool autoSizeHorizontally = false,
  6. bool autoSizeVertically = false,
  7. bool autoSizeColumns = false,
  8. bool autoSizeRows = false,
  9. double? maxAutoSizeColumnExtent = 300,
  10. double? maxAutoSizeRowExtent = 300,
  11. bool showLeadingOuterBorders = false,
  12. bool showRowHeaders = true,
  13. ValueChanged<Set<int>>? onSelectedRowsChanged,
  14. FutureOr<void> onOpenFile(
    1. String file
    )?,
})

Implementation

const InMemoryTable({
  super.key,
  required this.columns,
  required this.rows,
  this.maxHeight = 420,
  this.autoSizeHorizontally = false,
  this.autoSizeVertically = false,
  this.autoSizeColumns = false,
  this.autoSizeRows = false,
  this.maxAutoSizeColumnExtent = 300,
  this.maxAutoSizeRowExtent = 300,
  this.showLeadingOuterBorders = false,
  this.showRowHeaders = true,
  this.onSelectedRowsChanged,
  this.onOpenFile,
});