Package-level declarations

Types

Link copied to clipboard

Interface defining the colors used for a contained icon button.

Link copied to clipboard

Interface defining the sizes used for a KPContainedIconButton.

Functions

Link copied to clipboard
fun KPContainedIconButton(icon: ImageVector, size: ContainedIconButtonSize, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, colors: ContainedIconButtonColors = IconButtonDefaults.containedButtonColors(), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })

A composable function that displays a contained icon button with customizable size, colors, and behavior.

Link copied to clipboard
fun KPContainedIconToggleButton(checked: Boolean, checkedIcon: ImageVector, unCheckedIcon: ImageVector, size: ContainedIconButtonSize, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, colors: ContainedIconButtonColors = IconButtonDefaults.containedButtonColors(), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })

A composable function that displays a contained icon toggle button with customizable size, colors, and behavior for checked and unchecked states.