exportToDocx method

Future<Uint8List> exportToDocx()

Exports as native DOCX (OOXML) file.

Implementation

Future<Uint8List> exportToDocx() async {
  await _prefetchImages();
  return await DocxExporter(document, imageCache: _imageCache).build();
}