Table constructor

Table({
  1. required List<List<String>> data,
  2. required Font banglaFont,
  3. Font? generalFont,
  4. double fontSize = 12,
  5. PdfColor headerColor = PdfColors.grey300,
  6. PdfColor borderColor = PdfColors.grey,
  7. EdgeInsets cellPadding = const pw.EdgeInsets.all(6),
  8. Alignment cellAlignment = pw.Alignment.centerLeft,
  9. Map<int, TableColumnWidth>? columnWidths,
  10. TextStyle? style,
  11. TextStyle? banglaStyle,
})

Implementation

Table({
  required super.data,
  required pw.Font banglaFont,
  pw.Font? generalFont,
  super.fontSize,
  super.headerColor,
  super.borderColor,
  super.cellPadding,
  super.cellAlignment,
  super.columnWidths,
  super.style,
  pw.TextStyle? banglaStyle,
}) : super(
       bengaliFont: banglaFont,
       generalFont: generalFont,
       bengaliStyle: banglaStyle,
     );