WatermarkConfig constructor
const
WatermarkConfig({
- required String name,
- String? email,
- bool showTimestamp = true,
- WatermarkTemplate template = WatermarkTemplate.diagonalRepeating,
- double opacity = 0.14,
- Color textColor = Colors.black,
- Color backgroundColor = Colors.transparent,
- WatermarkTextBuilder? customTextBuilder,
- Duration refreshInterval = const Duration(seconds: 1),
Implementation
const WatermarkConfig({
required this.name,
this.email,
this.showTimestamp = true,
this.template = WatermarkTemplate.diagonalRepeating,
this.opacity = 0.14,
this.textColor = Colors.black,
this.backgroundColor = Colors.transparent,
this.customTextBuilder,
this.refreshInterval = const Duration(seconds: 1),
});