copyWith method
PageTheme
copyWith({
- PdfPageFormat? pageFormat,
- BuildCallback? buildBackground,
- BuildCallback? buildForeground,
- ThemeData? theme,
- PageOrientation? orientation,
- EdgeInsets? margin,
- bool? clip,
- TextDirection? textDirection,
Implementation
PageTheme copyWith({
PdfPageFormat? pageFormat,
BuildCallback? buildBackground,
BuildCallback? buildForeground,
ThemeData? theme,
PageOrientation? orientation,
EdgeInsets? margin,
bool? clip,
TextDirection? textDirection,
}) =>
PageTheme(
pageFormat: pageFormat ?? this.pageFormat,
buildBackground: buildBackground ?? this.buildBackground,
buildForeground: buildForeground ?? this.buildForeground,
theme: theme ?? this.theme,
orientation: orientation ?? this.orientation,
margin: margin ?? this.margin,
clip: clip ?? this.clip,
textDirection: textDirection ?? this.textDirection,
);