Watermark.text constructor
Watermark.text(})
Creates a Watermark from a string.
Implementation
Watermark.text(
String text, {
pw.TextStyle? style,
this.fit = pw.BoxFit.contain,
this.angle = _quarterTurn,
}) : child = BanglaAwareText(
text,
style: style ??
const pw.TextStyle(
color: PdfColors.grey200,
fontWeight: pw.FontWeight.bold,
),
);