WatermarkConfig constructor

const WatermarkConfig({
  1. required String text,
  2. WatermarkPosition position = WatermarkPosition.center,
  3. double opacity = 0.3,
  4. double rotationDegrees = -45.0,
  5. double fontSizeFactor = 1.0,
  6. int colorArgb = 0x4D808080,
  7. int margin = 20,
  8. int tileSpacing = 100,
})

Implementation

const WatermarkConfig({
  required this.text,
  this.position = WatermarkPosition.center,
  this.opacity = 0.3,
  this.rotationDegrees = -45.0,
  this.fontSizeFactor = 1.0,
  this.colorArgb = 0x4D808080,
  this.margin = 20,
  this.tileSpacing = 100,
});