Package-level declarations
Types
Link copied to clipboard
One icon slot of a toolkit component, such as a navigation item or a button.
Link copied to clipboard
What starts the continuous playback of an icon that declares ToolkitIcon.Animated.loop.
Link copied to clipboard
How a ToolkitIcon.AnimatedVector behaves when its item is clicked again while the drawable already rests on the last frame of the animation.
Functions
Link copied to clipboard
fun AnimatedToolkitIcon(icon: ToolkitIcon, clickCount: Int, contentDescription: String?, modifier: Modifier = Modifier, selectedIcon: ToolkitIcon = icon, selected: Boolean = false, tint: Color = LocalContentColor.current)
Renders the icon of a clickable component, mixing the unselected and selected icons with the click driven playback of animated sources.
Link copied to clipboard
fun resolveToolkitIcon(icon: ToolkitIcon, selectedIcon: ToolkitIcon, selected: Boolean, interacted: Boolean = false): ToolkitIcon
Picks which of the two icons of a component has to be rendered.
Link copied to clipboard
Whether icon has to be drawing a running loop right now.
Link copied to clipboard
fun ToolkitIconContent(icon: ToolkitIcon, contentDescription: String?, modifier: Modifier = Modifier, atEnd: Boolean = false, interacted: Boolean = false, tint: Color = LocalContentColor.current)
Renders a single ToolkitIcon exactly as described: a Compose ImageVector, a static drawable/vector resource, a runtime bitmap, or one frame state of an animated source.