PageTheme constructor

const PageTheme({
  1. PdfPageFormat? pageFormat,
  2. ThemeData? theme,
  3. PageOrientation orientation = PageOrientation.natural,
  4. EdgeInsetsGeometry? margin,
  5. TextDirection? textDirection,
  6. BuildCallback? buildBackground,
  7. BuildCallback? buildForeground,
})

PageTheme API.

Implementation

const PageTheme({
  PdfPageFormat? pageFormat,
  this.theme,
  this.orientation = PageOrientation.natural,
  this.margin,
  this.textDirection,
  this.buildBackground,
  this.buildForeground,
}) : pageFormat = pageFormat ?? PdfPageFormat.standard;