editImageAndGetFile static method

Future<File> editImageAndGetFile({
  1. required Uint8List image,
  2. required ImageEditorOption imageEditorOption,
})

The image is the source of image.

The imageEditorOption is the option for edit image.

The method will return a File as image result.

If result is null, it means handle image error.

Implementation

static Future<File> editImageAndGetFile({
  required Uint8List image,
  required ImageEditorOption imageEditorOption,
}) async {
  return platform.editImageAndGetFile(
    image: image,
    imageEditorOption: imageEditorOption,
  );
}