ReportTemplate constructor
ReportTemplate({
- String name = 'Neue Vorlage',
- ReportPaperSize paperSize = ReportPaperSize.a4,
- ReportOrientation orientation = ReportOrientation.portrait,
- double headerHeight = 72,
- String locale = 'de-DE',
- String currency = 'EUR',
- List<
ReportFont> ? fonts, - List<
ReportElement> ? elements, - Map<
String, dynamic> ? variables,
Creates an empty or pre-populated report template.
Implementation
ReportTemplate({
this.name = 'Neue Vorlage',
this.paperSize = ReportPaperSize.a4,
this.orientation = ReportOrientation.portrait,
this.headerHeight = 72,
this.footerHeight = 55,
this.locale = 'de-DE',
this.currency = 'EUR',
List<ReportFont>? fonts,
List<ReportElement>? elements,
Map<String, dynamic>? variables,
}) : elements = elements ?? [],
fonts = fonts ?? [],
variables = variables ?? {};