ExportInstance class

The delegate handling the low-level export of the widget tree.

Constructors

ExportInstance(ExportDelegate delegate, Future<Widget> exportFunc(Widget widget))
const

Properties

delegate → ExportDelegate
The delegate that is used to export the widget.
final
exportFunc → Future<Widget> Function(Widget widget)
The function to export a Widget to a pw.Widget.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

matchWidget(Element element, BuildContext? context) → Future<List<Widget>>
Matches the widget provided as element and returns the corresponding pw.Widget. The context is only null when called from exportFunc.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited