The proloaded image source.
Optional
options: ImageWidgetOptionsThe options.
The child-widgets of the widget.
Private
imageThe proloaded image source.
The range of the widget, taking into account the children, based on the parent coordinate. To be noted that this method should not be overridden.
The range of the widget.
The range of the widget, taking into account the children, based on the parent coordinate. To be noted that this method should not be overridden.
The range of the widget.
Optional
params: Record<string, any>Calculate the range of the widget, based on the self-coordinate. To be noted that this method should be overridden.
The range of the widget.
Preload the necessary items duration drawing. Called when the properties changed. In common, we use it to initializing Paint, Rect, Path, etc.
The namespace of CanvasKit-WASM.
The changed property of this widget
Set up an update function to call it when the widget is changed.
The frame from having gone to current frame.
Rest
...plugins: WidgetPlugin[]Static
absoluteStatic
get
Image Widget You can via proload a image and use this widget to draw image on canvas.