PageTheme constructor

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

Implementation

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