Stylish Filled Tonal Icon Toggle Button
A filled tonal icon toggle button with a secondary-container background, wrapping the Material 3 FilledTonalIconToggleButton with the theme's default colors.
Use this for medium-emphasis toggle actions. 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. Defaults to IconButtonDefaults.filledShape.
Colors used in each state. Defaults to IconButtonDefaults.filledTonalIconToggleButtonColors.
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.