editFileImageAndGetFile static method

Future<File?> editFileImageAndGetFile({
  1. required File file,
  2. required ImageEditorOption imageEditorOption,
})

The file 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?> editFileImageAndGetFile({
  required File file,
  required ImageEditorOption imageEditorOption,
}) async {
  return platform.editFileImageAndGetFile(
    file: file,
    imageEditorOption: imageEditorOption,
  );
}