The function to export a Widget to a pw.Widget.
pw.Widget
final Future<pw.Widget> Function(Widget widget) exportFunc;