PaintingEditor.asset constructor
PaintingEditor.asset(
- String assetPath, {
- Key? key,
- required PaintEditorInitConfigs initConfigs,
Constructs a PaintingEditor
widget with an image loaded from an asset.
Implementation
factory PaintingEditor.asset(
String assetPath, {
Key? key,
required PaintEditorInitConfigs initConfigs,
}) {
return PaintingEditor._(
key: key,
editorImage: EditorImage(assetPath: assetPath),
initConfigs: initConfigs,
);
}