clearHeaderFooter method

Future<bool> clearHeaderFooter()

Clears all document header and footer content.

The change is kept in the document memory. Call save or saveAs to persist it to the file.

Since v3.2.0

example:

final success = await controller.document.clearHeaderFooter();

Implementation

Future<bool> clearHeaderFooter() async {
  return await _channel.invokeMethod('clear_header_footer');
}