INNER CODE UNIT · Dart

ImageEditor

fluttercandies/flutter_image_editor · image_editor/lib/image_editor.dart:8

class ImageEditor {
  const ImageEditor._();

  static ImageEditorPlatform get platform => ImageEditorPlatform.instance;

  /// The [image] is a source of image.
  ///
  /// The [imageEditorOption] option for edit image.
  ///
  /// The method will return a [Uint8List] as image result.
  ///
  /// If result is null, it means handle image error.
  static Future<Uint8List?> editImage({
    required Uint8List image,
    required ImageEditorOption imageEditorOption,
  }) async {
    return platform.editImage(
      image: image,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…