PDFViewer class

Inheritance

Constructors

PDFViewer({Key? key, required PDFDocument document, Axis? scrollDirection, bool lazyLoad = true, Color indicatorText = Colors.white, Color indicatorBackground = Colors.black54, bool showIndicator = true, bool showPicker = true, bool showNavigation = true, bool enableSwipeNavigation = true, PDFViewerTooltip tooltip = const PDFViewerTooltip(), Color backgroundNavigation = Colors.white, Color iconNavigation = Colors.black, Color? backgorundPickPage, Color? iconPickPage, Widget navigationBuilder(BuildContext, int? pageNumber, int? totalPages, void jumpToPage({int page}), void animateToPage({int? page}))?, PageController? controller, IndicatorPosition indicatorPosition = IndicatorPosition.topRight, int? zoomSteps, double? minScale, double? maxScale, double? panLimit})

Properties

backgorundPickPage Color?
final
backgroundNavigation Color
final
controller PageController?
final
document PDFDocument
final
enableSwipeNavigation bool
final
hashCode int
The hash code for this object.
no setterinherited
iconNavigation Color
final
iconPickPage Color?
final
indicatorBackground Color
final
indicatorPosition IndicatorPosition
final
indicatorText Color
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lazyLoad bool
final
maxScale double?
final
minScale double?
final
final
panLimit double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDirection Axis?
final
showIndicator bool
final
showNavigation bool
final
showPicker bool
final
tooltip PDFViewerTooltip
final
zoomSteps int?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _PDFViewerState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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