ExportDelegate class
The delegate handling the high-level export of the widget tree.
Constructors
-
ExportDelegate({ExportOptions options = const ExportOptions(), Map<
String, String> ttfFonts = const {}})
Properties
- fontData → FontData
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- options → ExportOptions
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{ExportOptions? options}) → ExportDelegate -
Copies the ExportDelegate with the given
options
. -
exportToPdfDocument(
String frameId, {ExportOptions? overrideOptions}) → Future< Document> -
Exports the ExportFrame with the given
frameId
to apw.Document
. -
exportToPdfPage(
String frameId, {ExportOptions? overrideOptions}) → Future< Page> -
Exports the ExportFrame with the given
frameId
to apw.Page
. -
exportToPdfWidget(
String frameId, {ExportOptions? overrideOptions}) → Future< Widget> -
Exports the ExportFrame with the given
frameId
to apw.Widget
. -
exportUnbuiltWidget(
Widget widget) → Future< Widget> -
getFrame(
String frameId) → ExportFrame -
Returns the ExportFrame with the given
frameId
. Throws an Exception if no ExportFrame is found. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerFrame(
ExportFrame frame) → void - Registers a new ExportFrame to the ExportDelegate.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited