INNER CODE UNIT · Dart

ImageEditorCommon

fluttercandies/flutter_image_editor · image_editor_common/lib/image_editor_common.dart:11

class ImageEditorCommon extends ImageEditorPlatform {
  static void registerWith() {
    ImageEditorPlatform.instance = ImageEditorCommon();
  }

  @override
  Future<Uint8List?> editImage({
    required Uint8List image,
    required ImageEditorOption imageEditorOption,
  }) async {
    Uint8List? tmp = image;
    for (final group in imageEditorOption.groupList) {
      if (group.canIgnore) {
        continue;
      }
      final handler = ImageHandler.memory(tmp);
      final editOption = ImageEditorOption();
      for (final option in group) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…