tableHeader static method

TextStyle tableHeader(
  1. Font font, {
  2. double fontSize = 12,
})

Implementation

static pw.TextStyle tableHeader(pw.Font font, {double fontSize = 12}) {
  return pw.TextStyle(
    font: font,
    fontSize: fontSize,
    fontWeight: pw.FontWeight.bold,
    color: PdfColors.white,
  );
}