Flutter Cache Manager
Copyright (c) 2019 Rene Floor
Released under MIT License.
Basic cache manager implementation, which should be used as a single
instance.
Flutter Cache Manager
Copyright (c) 2019 Rene Floor
Released under MIT License.
Defines the interface for a file service.
Most common file service will be an HttpFileService, however one can
also make something more specialized. For example you could fetch files
from other apps or from local storage.
A class to represent PDF page
imgPath, path of the image (pdf page)
num, page number
onZoomChanged, function called when zoom is changed
zoomSteps, number of zoom steps on double tap
minScale minimum zoom scale
maxScale maximum zoom scale
panLimit limit for pan
PDFViewer, a inbuild pdf viewer, you can create your own too.
document an instance of PDFDocument, document to be loaded
indicatorText color of indicator text
indicatorBackground color of indicator background
pickerButtonColor the picker button background color
pickerIconColor the picker button icon color
indicatorPosition position of the indicator position defined by IndicatorPosition enum
showIndicator show,hide indicator
showPicker show hide picker
showNavigation show hide navigation bar
toolTip tooltip, instance of PDFViewerTooltipenableSwipeNavigation enable,disable swipe navigation
scrollDirection scroll direction horizontal or vertical
lazyLoad lazy load pages or load all at once
controller page controller to control page viewer
zoomSteps zoom steps for pdf page
minScale minimum zoom scale for pdf page
maxScale maximum zoom scale for pdf page
panLimit pan limit for pdf page
onPageChanged function called when page changes
Flutter Cache Manager
Copyright (c) 2019 Rene Floor
Released under MIT License.
Enum for whether the file is coming from the cache or is just downloaded.