WatermarkStyle constructor

const WatermarkStyle({
  1. double opacity = 0.15,
  2. double rotate = -30,
  3. Color textColor = const Color(0xFF9E9E9E),
  4. double fontSize = 16,
  5. double rowSpacing = 80,
  6. double columnSpacing = 120,
  7. FontWeight fontWeight = FontWeight.normal,
  8. bool staggered = true,
})

Creates a watermark style configuration.

All parameters have sensible defaults for a subtle diagonal watermark.

Implementation

const WatermarkStyle({
  this.opacity = 0.15,
  this.rotate = -30,
  this.textColor = const Color(0xFF9E9E9E),
  this.fontSize = 16,
  this.rowSpacing = 80,
  this.columnSpacing = 120,
  this.fontWeight = FontWeight.normal,
  this.staggered = true,
});