For Image you can use this pacakge
https://pub.dev/packages/image_watermark
based on Image pacakge.
As parameter you have to pass image bytes and return output image bytes
and you can use Image.memory(imgBytes) widget.
Add text watermark:
var watermarkedImg = await image_watermark.addTextWatermarkCentered(imgBytes,'watermarkText');
you can customize position ,color of text
var watermarkedImg = await image_watermark.addTextWatermark(
imgBytes, ///image bytes
'watermarkText', ///watermark text
20, ///position of watermark x coordinate
30, ///y coordinate
color: Colors.green, ///default : Colors.white
)
Image watermark:
watermarkedImgBytes = await image_watermark.addImageWatermark(
imgBytes, //image bytes
imgBytes2,//watermark img bytes
imgHeight: 200, //watermark img height
imgWidth: 200, //watermark img width
dstY: 400,
dstX: 400);
For video:
https://pub.dev/packages/video_manipulation/example
_outputFilepath =
await VideoManipulation.generateVideo([inputVideopath,watermarkimgPath], outputFilename, framerate, speed);