custom_image_editor 1.0.4 copy "custom_image_editor: ^1.0.4" to clipboard
custom_image_editor: ^1.0.4 copied to clipboard

PlatformAndroid

Strong image editor based on Flutter with ability to crop, paint, add text, and rotate images.

Custom Image Editor #

Strong image editor based on Flutter with ability to crop, paint, add text, and rotate images.

Features #

  • Crop

  • Add text, with options to bold the text and choose a color for the text

  • Paint, with options to choose a color for the lines

  • Rotate by 90 degrees clockwise

Custom image editor in display #

Crop #


Rotate #


Paint #


Add text #


How to use this package #

In order to start editing the image,

Future<void> editImage(File imageFile) async {
    //navigate to the image editor
    final fileResult = await Navigator.push(context, MaterialPageRoute(builder: (context) {
        return EditImageComponent(imageFile: imageFile);
    }));
    if (fileResult != null && fileResult is FinishedImageData) {
        String file = fileResult.file.path; //file path of the newly updated image
        imageLink.value = file;
        //get the size of the newly updated image
        width.value = fileResult.size.width;
        height.value = fileResult.size.height;
    }
}```

1
likes
140
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

Strong image editor based on Flutter with ability to crop, paint, add text, and rotate images.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter, image_picker, path_provider, provider, uuid

More

Packages that depend on custom_image_editor