WatermarkComponent constructor
const
WatermarkComponent({
- Key? key,
- String? text,
- List<
String> ? texts, - TextStyle? textStyle,
- Color color = Colors.black,
- double opacity = 0.08,
- double rotation = -20 * math.pi / 180,
- double horizontalSpacing = 120,
- double verticalSpacing = 80,
- int maxPaintCount = 800,
- Offset textOffset = Offset.zero,
- bool enabled = true,
- TextDirection? textDirection,
- bool computeInBackground = true,
Implementation
const WatermarkComponent({
super.key,
this.text,
this.texts,
this.textStyle,
this.color = Colors.black,
this.opacity = 0.08,
this.rotation = -20 * math.pi / 180,
this.horizontalSpacing = 120,
this.verticalSpacing = 80,
this.maxPaintCount = 800,
this.textOffset = Offset.zero,
this.enabled = true,
this.textDirection,
this.computeInBackground = true,
});