convertHtml static method
Convert an html document to a pdf data
This is not supported on all platforms. Check the result of info to find at runtime if this feature is available or not.
Implementation
static Future<Uint8List> convertHtml({
required String html,
String? baseUrl,
PdfPageFormat format = PdfPageFormat.standard,
}) {
return PrintingPlatform.instance.convertHtml(
html,
baseUrl,
format,
);
}