WatermarkConfig class
Configuration for watermark content and styling.
Constructors
- WatermarkConfig({required String name, String? email, bool showTimestamp = true, WatermarkTemplate template = WatermarkTemplate.diagonalRepeating, double opacity = 0.14, Color textColor = Colors.black, Color backgroundColor = Colors.transparent, WatermarkTextBuilder? customTextBuilder, Duration refreshInterval = const Duration(seconds: 1)})
-
const
Properties
- backgroundColor → Color
-
final
- customTextBuilder → WatermarkTextBuilder?
-
final
- email → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- opacity → double
-
final
- refreshInterval → Duration
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showTimestamp → bool
-
final
- template → WatermarkTemplate
-
final
- textColor → Color
-
final
Methods
-
buildText(
DateTime now) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited