removeWatermark method
Removes the watermark at index.
This method does not save the document. Call save or saveAs explicitly after removing watermarks.
Parameters:
index - The watermark index.
Returns: true if the watermark is removed, false otherwise.
Since v2.6.8
example:
final bool success = await controller.document.removeWatermark(0);
print('Remove watermark result: $success');
Implementation
Future<bool> removeWatermark(int index) async {
return await _channel.invokeMethod('remove_watermark', {'index': index});
}