<div class='sourceset sourceset-android'>Android</div>

```kotlin
public object RadioButtonDefaults
```

Contains the default values used by [RadioButton](/jetpack-compose/androidx.glance/glance-appwidget/composable-functions/RadioButton).

## Functions

<h2 id="colors-checkedcolor-uncheckedcolor">colors</h2>

```kotlin
public fun colors(
        checkedColor: ColorProvider,
        uncheckedColor: ColorProvider,
    ): RadioButtonColors
```

Creates a [RadioButtonColors](/jetpack-compose/androidx.glance/glance-appwidget/classes/RadioButtonColors) using [ColorProvider](/jetpack-compose/androidx.glance/glance/interfaces/ColorProvider)s.

#### Parameters

| | |
| --- | --- |
| checkedColor | the tint to apply to the radio button when it is checked. |
| uncheckedColor | the tint to apply to the radio button when it is not checked. |

#### Returns

| | |
| --- | --- |
|  | [RadioButtonColors](/jetpack-compose/androidx.glance/glance-appwidget/classes/RadioButtonColors) to tint the drawable of the [RadioButton](/jetpack-compose/androidx.glance/glance-appwidget/composable-functions/RadioButton) according to the checked state. |

<hr class="docs-overload-divider">

<h2 id="colors-checkedcolor-uncheckedcolor-2">colors</h2>

```kotlin
public fun colors(checkedColor: Color, uncheckedColor: Color): RadioButtonColors
```

Creates a [RadioButtonColors](/jetpack-compose/androidx.glance/glance-appwidget/classes/RadioButtonColors) using `FixedColorProvider`s for the given colors.

#### Parameters

| | |
| --- | --- |
| checkedColor | the [Color](/jetpack-compose/androidx.compose.ui/ui-graphics/classes/Color) to use when the RadioButton is checked |
| uncheckedColor | the [Color](/jetpack-compose/androidx.compose.ui/ui-graphics/classes/Color) to use when the RadioButton is not checked |

#### Returns

| | |
| --- | --- |
|  | [RadioButtonColors](/jetpack-compose/androidx.glance/glance-appwidget/classes/RadioButtonColors) to tint the drawable of the [RadioButton](/jetpack-compose/androidx.glance/glance-appwidget/composable-functions/RadioButton) according to the checked state. |

<hr class="docs-overload-divider">

<h2 id="colors">colors</h2>

```kotlin
@Composable
public fun colors(): RadioButtonColors
```

Creates a default [RadioButtonColors](/jetpack-compose/androidx.glance/glance-appwidget/classes/RadioButtonColors)

#### Returns

| | |
| --- | --- |
|  | default [RadioButtonColors](/jetpack-compose/androidx.glance/glance-appwidget/classes/RadioButtonColors). |