INNER CODE UNIT · Dart

registerWith

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

  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) {
        editOption.addOption(option);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…