copyWith method
TemplateTheme
copyWith({
- String? accent,
- String? ink,
- String? muted,
- String? wash,
- String? line,
- String? onAccent,
- PdfPageFormat? pageFormat,
- EdgeInsets? margin,
copyWith API.
Implementation
TemplateTheme copyWith({
String? accent,
String? ink,
String? muted,
String? wash,
String? line,
String? onAccent,
PdfPageFormat? pageFormat,
EdgeInsets? margin,
}) {
return TemplateTheme(
accent: accent ?? this.accent,
ink: ink ?? this.ink,
muted: muted ?? this.muted,
wash: wash ?? this.wash,
line: line ?? this.line,
onAccent: onAccent ?? this.onAccent,
pageFormat: pageFormat ?? this.pageFormat,
margin: margin ?? this.margin,
);
}