ZoomMode enum
Controls how a PDF page is scaled to fit its display area.
fitPage scales the page so that both dimensions fit within the available box with a comfortable border (24 dp). fitWidth fills the available width and scrolls vertically. custom uses the explicit ViewerController.zoomFactor.
Values
- fitPage → const ZoomMode
-
Scale the page to fit entirely within the available area (both width and height), leaving a 24 dp border on each side.
- fitWidth → const ZoomMode
-
Scale the page to fill the available width; scroll vertically for height.
- custom → const ZoomMode
-
Scale the page by ViewerController.zoomFactor relative to the fit-width size.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited