flutter_watermark

Creator: coderz1093

Last updated:

Add to Cart

Description:

flutter watermark

A new Flutter package helps you add watermarks globally.
Screenshot #

Usage #
// 初始化插件
final DisableScreenshots _plugin = DisableScreenshots();
_f(){
// 添加默认样式的水印
_plugin.addWatermark(context, "默认水印", rowCount: 4, columnCount: 8);
// 添加自定义widget当做水印
_plugin.addCustomWatermark(context, const Watermark(rowCount: 3, columnCount: 10, text: "自定义水印"));
// 移除水印
_plugin.removeWatermark();
}
copied to clipboard
Additional information #
The idea is borrowed from disable_screenshots.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.