exportToPdfPage method
Exports the ExportFrame with the given frameId
to a pw.Page
.
Implementation
Future<pw.Page> exportToPdfPage(String frameId,
{ExportOptions? overrideOptions}) async {
final ExportFrame frame = getFrame(frameId);
if (overrideOptions != null) {
ExportDelegate delegate = copyWith(options: overrideOptions);
return await delegate._exportPage(
frame.exportWidget, frame.exportContext!);
}
return await _exportPage(frame.exportWidget, frame.exportContext!);
}