Watermark constructor

const Watermark({
  1. Key? key,
  2. required Widget child,
  3. String text = 'WATERMARK',
  4. Color? color,
  5. TextStyle? style,
  6. double angle = -30,
  7. double spacing = 120.0,
  8. bool enabled = true,
})

Implementation

const Watermark({
  super.key,
  required this.child,
  this.text = 'WATERMARK',
  this.color,
  this.style,
  this.angle = -30,
  this.spacing = 120.0,
  this.enabled = true,
});