WebcontentConverter class
WebcontentConverter will convert html, html file, web uri, into raw bytes image or pdf file
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- logger → EasyLogger
-
WebcontentConverter.logger
final -
platformVersion
→ Future<
String?> -
no setter
Static Methods
-
contentToImage(
{required String content, double duration = 2000, String? executablePath, bool autoClosePage = true, int scale = 3}) → Future< Uint8List> -
contentToPDF(
{required String content, double duration = 2000, required String savedPath, PdfMargins? margins, PaperFormat format = PaperFormat.a4, String? executablePath, bool autoClosePage = true}) → Future< String?> -
deinitWebcontentConverter(
{bool isClosePage = true, bool isCloseBrower = true}) → Future< void> -
embedWebView(
{String? url, String? content, double? width, double? height}) → Widget -
WevView
-
ensureInitialized(
{String? executablePath, String? content}) → Future< void> -
filePathToImage(
{required String path, double duration = 2000, String? executablePath, bool autoClosePage = true, int scale = 3}) → Future< Uint8List> -
filePathToPdf(
{required String path, double duration = 2000, required String savedPath, PdfMargins? margins, PaperFormat format = PaperFormat.a4, String? executablePath}) → Future< String?> -
initWebcontentConverter(
{String? executablePath, String? content}) → Future< void> -
printPreview(
{String? url, String? content, bool autoClose = true, double? duration}) → Future< bool> -
webUriToImage(
{required String uri, double duration = 2000, String? executablePath, bool autoClosePage = true, int scale = 3}) → Future< Uint8List> -
webUriToPdf(
{required String uri, double duration = 2000, required String savedPath, PdfMargins? margins, PaperFormat format = PaperFormat.a4, String? executablePath}) → Future< String?>