[android-components](../../index.md) / [mozilla.components.browser.menu2.candidate](../index.md) / [CompoundMenuCandidate](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`CompoundMenuCandidate(text: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, isChecked: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`, start: `[`MenuIcon`](../-menu-icon.md)`? = null, end: `[`ButtonType`](-button-type/index.md)`, textStyle: `[`TextStyle`](../-text-style/index.md)` = TextStyle(), containerStyle: `[`ContainerStyle`](../-container-style/index.md)` = ContainerStyle(), effect: `[`MenuCandidateEffect`](../-menu-candidate-effect.md)`? = null, onCheckedChange: (`[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`

Menu option that shows a switch or checkbox.

