0 purchases
custom image editor
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;
}
}```
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.