Radio
A radio button component that can be selected within a RadioGroup.
This is a managed version of this component. It will automatically handle the state for you.
A stateless version is also available within a different overload.
Parameters
The value of this radio button.
Modifier to be applied to the radio button.
The background color of the radio button.
The color of the content when selected.
The color of the content when not selected.
Whether the radio button is enabled.
The shape of the radio button.
The color of the border.
The width of the border.
Padding values for the content.
The interaction source for the radio button.
The indication to be shown when the radio button is interacted with.
The horizontal arrangement of the content.
The vertical alignment of the content.
The content of the radio button.
A stateless version of Radio component.
There is also a managed version of this component, that will automatically manage its state within a RadioGroup.
Parameters
Whether the radio button is selected.
Callback when the selected state changes.
Modifier to be applied to the radio button.
The background color of the radio button.
The color of the content when selected.
The color of the content when not selected.
Whether the radio button is enabled.
The shape of the radio button.
The color of the border.
The width of the border.
Padding values for the content.
The interaction source for the radio button.
The indication to be shown when the radio button is interacted with.
The horizontal arrangement of the content.
The vertical alignment of the content.
The content of the radio button.