CustomTable constructor

const CustomTable({
  1. Key? key,
  2. required List<String> headers,
  3. required List<List<String>> data,
  4. bool showBorder = true,
  5. TextStyle? headerTextStyle,
  6. TextStyle? cellTextStyle,
  7. Color? headerBackgroundColor,
  8. Color? rowBackgroundColor,
  9. double cellPadding = 12.0,
})

Implementation

const CustomTable({
  super.key,
  required this.headers,
  required this.data,
  this.showBorder = true,
  this.headerTextStyle,
  this.cellTextStyle,
  this.headerBackgroundColor,
  this.rowBackgroundColor,
  this.cellPadding = 12.0,
});