FlutterPreviewFilePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterPreviewFilePlatform
Implementers

Constructors

FlutterPreviewFilePlatform()
Constructs a FlutterPreviewFilePlatform.

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

convertDocToHtml(String path) → Future<String?>
convertHtmlToPdf({required String html, required String outputPath}) → Future<String?>
generatePdfFromImages({required List<Map<String, dynamic>> imageList, required String outputPath, int? maxSidePx}) → Future<String?>
getPdfPageCount(String path) → Future<int>
getPlatformVersion() → Future<String?>
loadDocContent(String path) → Future<Map<String, dynamic>?>
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?>
renderPdfPageToImageBytes({required String pdfPath, required int pageIndex, int? width}) → Future<Uint8List?>
saveDocTextContent({required String path, required String text}) → Future<bool>
saveImageToGallery({required String sourcePath, required String displayName, String? relativePath}) → Future<bool>
scanFile(String path) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ FlutterPreviewFilePlatform
The default instance of FlutterPreviewFilePlatform to use.
getter/setter pair