Stylish Outlined Icon Toggle Button
An outlined icon toggle button with a hairline border, wrapping the Material 3 OutlinedIconToggleButton with the theme's default colors.
Use this for toggle actions that need visual separation from their surroundings. content should typically be an Icon that changes with checked; the button enforces a 48 x 48 dp minimum touch target.
Parameters
Whether the button is currently toggled on.
Called with the new state when the button is tapped.
Modifier applied to the button root.
When false, the button ignores pointer input and renders in the disabled color scheme.
Shape of the button's container and border. Defaults to IconButtonDefaults.outlinedShape.
Colors used in each state. Defaults to IconButtonDefaults.outlinedIconToggleButtonColors.
Border drawn around the container. Defaults to IconButtonDefaults.outlinedIconToggleButtonBorder resolved from enabled and checked. Pass null for no border.
The MutableInteractionSource for the button, used to observe press/focus/hover interactions. When null, an internal one is remembered.
The content of the button, typically an Icon.