DataTable constructor

DataTable({
  1. required List<String> columns,
  2. required List<List<String>> rows,
  3. Style? headerStyle,
  4. Style? cellStyle,
  5. Color? borderColor,
  6. DataTableBorderStyle borderStyle = DataTableBorderStyle.normal,
  7. Key? key,
})

Implementation

DataTable({
  required this.columns,
  required this.rows,
  this.headerStyle,
  this.cellStyle,
  this.borderColor,
  this.borderStyle = DataTableBorderStyle.normal,
  super.key,
});