You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that no native code has been implemented for web.
I got following exception:
MissingPluginException(No implementation found for method memoryToMemory on channel top.kikt/flutter_image_editor)
Here is my code
var action = state.editAction;
///crop rect base on raw imagefinalRect? rect = state.getCropRect();
final rotateAngle = action?.rotateAngle.toInt();
final flipHorizontal = action?.flipY;
final flipVertical = action?.flipX;
final img = state.rawImageData;
ImageEditorOption option =ImageEditorOption();
if (action!.needCrop) option.addOption(ClipOption.fromRect(rect!));
if (action.needFlip)
option.addOption(
FlipOption(horizontal: flipHorizontal!, vertical: flipVertical!));
if (action.hasRotateAngle) option.addOption(RotateOption(rotateAngle!));
option.outputFormat =OutputFormat.png(88);
final result =awaitImageEditor.editImage(
image: img,
imageEditorOption: option,
);
return result;
}
The text was updated successfully, but these errors were encountered:
CaiJingLong
changed the title
MissingPluginException memoryToMemory
MissingPluginException memoryToMemory for web
Feb 14, 2023
It seems that no native code has been implemented for web.
I got following exception:
Here is my code
The text was updated successfully, but these errors were encountered: