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