SyncfusionFlutterPdfViewerPlugin class

Inheritance
  • Object
  • PlatformInterface
  • SyncfusionFlutterPdfViewerPlugin

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

closeDocument(String documentID) Future<void>
Closes the PDF document.
getImage(int pageNumber, double scale, String documentID) Future<Uint8List>
Gets the image's bytes information of the specified page.
getPagesHeight(String documentID) Future<Int32List?>
Gets the height of all pages in the document.
getPagesWidth(String documentID) Future<Int32List?>
Gets the width of all pages in the document.
initializePdfRenderer(Uint8List documentBytes, String documentID) Future<String>
Initializes the PDF renderer instance in respective platform by loading the PDF from the specified path.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderPage(PdfJsPage page, PdfJsViewport viewport, double scale, String documentID) Future<Uint8List>
Renders the page into a canvas and return image's byte information.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith(Registrar registrar) → void
Registers this class as the default instance of PdfViewerPlatform.