Pdf Static Thumbnail Bar
fun PdfStaticThumbnailBar(stateManager: ThumbnailBarStateManager, onPageChanged: (pageIndex: Int) -> Unit, modifier: Modifier = Modifier, windowInsets: WindowInsets = WindowInsets.navigationBars)
Composable function for the PDF Static Thumbnail Bar.
This is a pure UI component with no business logic. It:
Observes state from ThumbnailBarStateManager
Renders thumbnails based on current state
Emits events on user interactions
Handles side effects (navigation, errors)
Parameters
state Manager
The state manager that holds business logic
on Page Changed
Callback when user navigates to a different page
modifier
Modifier for customizing the layout. Apply Modifier.padding here for transparent margin around the bar.
window Insets
System window insets the bar accounts for. PINNED extends the bar background behind the inset; FLOATING lifts itself above it via outer bottom margin. Pass WindowInsets (0,0,0,0) to opt out entirely.