NicePrintTable constructor

const NicePrintTable({
  1. Key? key,
  2. required List<String> headers,
  3. required List<List<String>> rows,
  4. List<double>? columnWidths,
  5. bool showBorder = true,
  6. bool alternateRowColors = true,
  7. TextStyle? headerStyle,
  8. TextStyle? cellStyle,
  9. EdgeInsets cellPadding = const EdgeInsets.all(8),
})

Implementation

const NicePrintTable({
  super.key,
  required this.headers,
  required this.rows,
  this.columnWidths,
  this.showBorder = true,
  this.alternateRowColors = true,
  this.headerStyle,
  this.cellStyle,
  this.cellPadding = const EdgeInsets.all(8),
});