PDF class
- Available Extensions
Constructors
-
PDF({PDFViewCreatedCallback? onViewCreated, RenderCallback? onRender, PageChangedCallback? onPageChanged, ErrorCallback? onError, PageErrorCallback? onPageError, LinkHandlerCallback? onLinkHandler, Set<
Factory< ? gestureRecognizers, bool enableSwipe = true, bool swipeHorizontal = false, String? password, bool nightMode = false, bool autoSpacing = true, bool pageFling = true, bool pageSnap = true, bool fitEachPage = true, int defaultPage = 0, FitPolicy fitPolicy = FitPolicy.WIDTH, })OneSequenceGestureRecognizer> > -
const
Properties
- autoSpacing → bool
-
final
- defaultPage → int
-
init page
final
- enableSwipe → bool
-
enable or disable Swipe
final
- fitEachPage → bool
-
final
- fitPolicy → FitPolicy
-
final
-
gestureRecognizers
→ Set<
Factory< ?OneSequenceGestureRecognizer> > -
Which gestures should be consumed by the pdf view.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nightMode → bool
-
set nightMode true, false
final
- onError → ErrorCallback?
-
return dynamic error
final
- onLinkHandler → LinkHandlerCallback?
-
final
- onPageChanged → PageChangedCallback?
-
final
- onPageError → PageErrorCallback?
-
final
- onRender → RenderCallback?
-
If not null invoked once the web view is created.
final
- onViewCreated → PDFViewCreatedCallback?
-
If not null invoked once the web view is created.
final
- pageFling → bool
-
final
- pageSnap → bool
-
final
- password → String?
-
if pdf is protected u should provide a password
final
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- swipeHorizontal → bool
-
swipeHorizontal or vertical
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited