FlutterPdfAnnotationsPlatform class abstract

Abstract platform interface for the flutter_pdf_annotations plugin.

Consumers should use FlutterPdfAnnotations rather than this class directly. Override instance in tests to inject a mock implementation.

Inheritance
  • Object
  • PlatformInterface
  • FlutterPdfAnnotationsPlatform
Implementers

Constructors

FlutterPdfAnnotationsPlatform()
Constructs a platform implementation. Subclasses must call super().

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
openPDF({required String filePath, String? savePath, PDFAnnotationConfig? config}) Future<PdfAnnotationResult>
Opens filePath in the native annotation editor.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance FlutterPdfAnnotationsPlatform?
The active platform implementation, or null if not yet set.
getter/setter pair