PageTheme constructor
const
PageTheme({
- PdfPageFormat? pageFormat,
- BuildCallback? buildBackground,
- BuildCallback? buildForeground,
- ThemeData? theme,
- PageOrientation? orientation,
- EdgeInsetsGeometry? margin,
- bool clip = false,
- 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;