PDFPreferences class

Implemented types
Annotations

Constructors

PDFPreferences({PDFLayout? layout, PDFReadingProgression? readingProgression, double? pageSpacing, PDFFit? fit, bool? offsetFirstPage, PDFSpread? spread, bool? visibleScrollbar})
const
PDFPreferences.fromJson(Map<String, dynamic> json)
factory

Properties

fit PDFFit?
How pages should be fitted in the viewport.
final
hashCode int
The hash code for this object.
no setterinherited
layout PDFLayout?
Page layout / scroll mode. Unifies the iOS scroll + scrollAxis knobs and the Android Pdfium scrollAxis knob into one cross-platform setting. See PDFLayout for the per-platform mapping.
final
offsetFirstPage bool?
When true, the first page is displayed alone rather than paired in a two-up (spread) view. Useful when the cover page occupies page 1.
final
pageSpacing double?
Spacing between pages.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
readingProgression PDFReadingProgression?
Direction of the reading progression.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spread PDFSpread?
Whether the publication is rendered with a synthetic spread (dual-page view).
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
visibleScrollbar bool?
Whether the scroll indicator is visible while scrolling.
final

Methods

copyWith({PDFLayout? layout, PDFReadingProgression? readingProgression, double? pageSpacing, PDFFit? fit, bool? offsetFirstPage, PDFSpread? spread, bool? visibleScrollbar}) PDFPreferences
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes the object to its JSON representation.
override
toString() String
A string representation of this object.
inherited

Operators

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