DisableScreenshots class

Constructors

DisableScreenshots()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
onScreenShots Stream<void>
获取监听截屏动作的Stream。用法:
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCustomWatermark(BuildContext context, Widget widget) → void
添加自定义水印。将widget覆盖在所有视图的最上层
addWatermark(BuildContext context, String watermark, {int rowCount = 3, int columnCount = 10, TextStyle? textStyle}) → void
添加默认水印
disableScreenshots(bool disable) Future<void>
只支持安卓
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeWatermark() → void
移除水印
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited