MethodChannelFlutterPreviewFile class

An implementation of FlutterPreviewFilePlatform that uses method channels.

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

convertDocToHtml(String path) → Future<String?>
override
convertHtmlToPdf({required String html, required String outputPath}) → Future<String?>
override
generatePdfFromImages({required List<Map<String, dynamic>> imageList, required String outputPath, int? maxSidePx}) → Future<String?>
override
getPdfPageCount(String path) → Future<int>
override
getPlatformVersion() → Future<String?>
override
loadDocContent(String path) → Future<Map<String, dynamic>?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderPdfPageToImage({required String pdfPath, required int pageIndex, required String outputPath, int? width}) → Future<String?>
override
renderPdfPageToImageBytes({required String pdfPath, required int pageIndex, int? width}) → Future<Uint8List?>
override
saveDocTextContent({required String path, required String text}) → Future<bool>
override
saveImageToGallery({required String sourcePath, required String displayName, String? relativePath}) → Future<bool>
override
scanFile(String path) → Future<void>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited