KPContainedIconToggleButton
A composable function that displays a contained icon toggle button with customizable size, colors, and behavior for checked and unchecked states.
Parameters
Whether the button is in the checked state.
The ImageVector representing the icon to display when the button is checked.
The ImageVector representing the icon to display when the button is unchecked.
The ContainedIconButtonSize defining the sizes for the button and its container.
The lambda to invoke when the checked state changes.
Whether the button is enabled. Defaults to true
.
The ContainedIconButtonColors to use for styling the button's background, content, and container colors. Defaults to IconButtonDefaults.containedButtonColors.
The MutableInteractionSource to track interaction events. Defaults to a new instance.