WatermarkConfig constructor

const WatermarkConfig({
  1. required String name,
  2. String? email,
  3. bool showTimestamp = true,
  4. WatermarkTemplate template = WatermarkTemplate.diagonalRepeating,
  5. double opacity = 0.14,
  6. Color textColor = Colors.black,
  7. Color backgroundColor = Colors.transparent,
  8. WatermarkTextBuilder? customTextBuilder,
  9. 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),
});