RadioButton¶
A standard themed radio button with a filled center dot when selected.
Renders the themed texture state - a combined selected+hovered state is used when both apply and the theme defines it. See RadioGroup for a labeled option list.
Parameters¶
-
selected: Whether this option is currently selected.
-
onSelect: Invoked when this (unselected) option is clicked.
-
modifier: Additional modifiers applied to the outer container.
-
enabled: When
false, pointer events are ignored and theTextureStates.DISABLEDstate is shown. -
texture: The themed texture key to look up via
LocalTheme. -
variant: The theme variant of
textureto use. SeeThemeVariants.