Programmatically annotate images with Flutter SDK
Nutrient Flutter SDK opens image files, such as PNG and JPEG, as documents. NutrientDocumentView detects an image by its file extension and opens it the same way it opens PDFs and other documents. The SDK renders the image as a single annotatable page.
After the image opens, use the loaded document’s annotation manager (controller.document.annotations) to create, edit, and remove annotations. The annotation API works the same way for images and PDFs. For the full API, refer to the create, edit, and remove annotations programmatically guide.