如何在颤振中制作带水印的图像?

How to make image with watermark in flutter?

我想在我的 flutter 应用中拍照以避免输入假图片。因此,我将使我的应用程序使用当前日期时间和经度、纬度水印拍照和保存照片。谁能告诉我如何实现这一点?

最直接的库是 https://pub.dev/packages/image

examples中显示:

Create an image, draw some text, save it as a png

// Draw some text using 24pt arial font
drawString(image, arial_24, 0, 0, 'Hello World');

但是在 https://pub.dev/flutter/packages?q=edit+image

上应该搜索到很多其他图像编辑器