PdfToolbarItem

sealed class PdfToolbarItem

One control in the viewer's toolbar.

Built-ins are identical on every platform. custom is platform-native on purpose: an icon is an ImageVector here, an SF Symbol on Apple and an SVG on the web, and a cross-platform icon type would be a lowest common denominator that satisfies none of them.

Inheritors

Types

Link copied to clipboard
class Custom(val id: String, val label: String, val image: ImageVector, val action: () -> Unit) : PdfToolbarItem

An app-defined button.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Tool(val tool: PdfTool) : PdfToolbarItem
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard