ImageWatermark class

Constructors

ImageWatermark()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

addImageWatermark({required Uint8List originalImageBytes, required Uint8List waterkmarkImageBytes, int imgHeight = 100, int imgWidth = 100, int dstX = 100, int dstY = 100}) Future<Uint8List>
This method adds the image that is indicated as a watermark, the parameters are the following:
addTextWatermark({required Uint8List imgBytes, required String watermarkText, int? dstX, int? dstY, BitmapFont? font, Color color = Colors.black, bool rightJustify = false}) Future<Uint8List>
This method adds the text that is indicated as a watermark, the parameters are the following:
addTextWatermarkCentered({required Uint8List imgBytes, required String watermarkText, BitmapFont? font, Color color = Colors.black}) Future<Uint8List>
This method adds the text that is indicated as a watermark, but centered the parameters are the following: