editFileImage static method

Future<Uint8List?> editFileImage({
  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 Uint8List as image result.

If result is null, it means handle image error.

Implementation

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