PageTheme constructor
const
PageTheme({
- PdfPageFormat? pageFormat,
- ThemeData? theme,
- PageOrientation orientation = PageOrientation.natural,
- EdgeInsetsGeometry? margin,
- TextDirection? textDirection,
- BuildCallback? buildBackground,
- 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;