addTextWatermarkUint8List abstract method

Future<Uint8List?> addTextWatermarkUint8List(
  1. String filePath,
  2. Uint8List? bytes,
  3. String text,
  4. int x,
  5. int y,
  6. int textSize,
  7. Color color,
  8. Color? backgroundTextColor,
  9. int? backgroundTextPaddingTop,
  10. int? backgroundTextPaddingBottom,
  11. int? backgroundTextPaddingLeft,
  12. int? backgroundTextPaddingRight,
)

Adds a text watermark to the image at the specified location with the given parameters.

Returns a Uint8List representing the watermarked image.

Implementation

Future<Uint8List?> addTextWatermarkUint8List(
  String filePath,
  Uint8List? bytes,
  String text,
  int x,
  int y,
  int textSize,
  Color color,
  Color? backgroundTextColor,
  int? backgroundTextPaddingTop,
  int? backgroundTextPaddingBottom,
  int? backgroundTextPaddingLeft,
  int? backgroundTextPaddingRight,
);