ThumbnailBarMode enum
Where and how the thumbnail bar is displayed.
The exact visual presentation differs between platforms. Android and iOS map the shared values to their respective native enums via helper functions inside each platform builder.
Platform availability:
- Android: maps to
ThumbnailBarModeinPdfActivityConfiguration. - iOS: maps to
PSPDFThumbnailBarModeinPSPDFConfiguration. - Web: not directly supported; configure via WebViewConfiguration if thumbnail visibility needs to be controlled on the web.
Values
- none → const ThumbnailBarMode
-
Do not show a thumbnail bar.
- defaultStyle → const ThumbnailBarMode
-
Use the platform's default thumbnail bar style.
- pinned → const ThumbnailBarMode
-
Pin the thumbnail bar to an edge of the viewport.
On iOS this renders as a scrubber-style bar pinned to the bottom. On Android it renders as a pinned strip at the bottom of the viewer.
- scrubberBar → const ThumbnailBarMode
-
Render a compact scrubber bar (primarily an iOS concept).
On Android this falls back to pinned behaviour.
- scrollable → const ThumbnailBarMode
-
Render a scrollable strip of page thumbnails.
- floating → const ThumbnailBarMode
-
Display the thumbnail bar as a floating overlay.
Floats above the document content rather than displacing it.
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
Constants
-
values
→ const List<
ThumbnailBarMode> - A constant List of the values in this enum, in order of their declaration.