Stylish Filled Icon Toggle Button
A filled icon toggle button with a primary-container background, wrapping the Material 3 FilledIconToggleButton with the theme's default colors.
Use this for high-emphasis toggle actions such as a pinned item. 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.filledIconToggleButtonColors.
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.