Watermark.text constructor

Watermark.text(
  1. String text, {
  2. TextStyle? style,
})

text API.

Implementation

Watermark.text(String text, {TextStyle? style})
  : child = Text(
      text,
      style:
          style ??
          const TextStyle(
            fontSize: 48,
            fontWeight: FontWeight.bold,
            color: 'E0E0E0',
          ),
    );