CPDFAnnotationsConfig class

Constructors

CPDFAnnotationsConfig({List<CPDFAnnotationType> availableTypes = CPDFAnnotationType.values, List<CPDFConfigTool> availableTools = CPDFConfigTool.values, CPDFAnnotAttribute initAttribute = const CPDFAnnotAttribute(), String annotationAuthor = ""})
const

Properties

annotationAuthor String
In the V2.1.0 version, a new comment reply function is added, and the name of the comment author can be set here.
final
availableTools List<CPDFConfigTool>
CPDFViewMode.ANNOTATIONS mode, annotation tools shown at the bottom of the view.
final
availableTypes List<CPDFAnnotationType>
CPDFViewMode.annotations mode, list of annotation functions shown at the bottom of the view.
final
hashCode int
The hash code for this object.
no setterinherited
initAttribute CPDFAnnotAttribute
When adding an annotation, the annotation’s default attributes.
final
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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