SingleReportViewer constructor
const
SingleReportViewer({
- Key? key,
- String? templateFile,
- String? templateAsset,
- ReportTemplate? template,
- required dynamic data,
- ReportViewerOptions options = const ReportViewerOptions(),
Implementation
const SingleReportViewer({
super.key,
this.templateFile,
this.templateAsset,
this.template,
required this.data,
this.options = const ReportViewerOptions(),
}) : assert(
templateFile != null || templateAsset != null || template != null,
'Provide templateFile, templateAsset or template',
);