| <html devsite="true"> |
| <head> |
| <title>RadioButtonDefaults</title> |
| {% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} |
| {% include "_shared/_reference-head-tags.html" %} |
| </head> |
| <body> |
| <div id="metadata-info-block"></div> |
| <h1>RadioButtonDefaults</h1> |
| <p> |
| <pre>public static class <a href="/reference/androidx/compose/material/RadioButtonDefaults.html">RadioButtonDefaults</a></pre> |
| </p> |
| <hr> |
| <p>Defaults used in <code><a href="/reference/androidx/compose/material/package-summary.html#RadioButton(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Boolean,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.material.RadioButtonColors)">RadioButton</a></code>.</p> |
| <h2>Summary</h2> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="100%"><h3>Public fields</h3></th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td width="40%"><code>static @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/material/RadioButtonDefaults.html">RadioButtonDefaults</a></code></td> |
| <td> |
| <div><code><a href="/reference/androidx/compose/material/RadioButtonDefaults.html#INSTANCE()">INSTANCE</a></code></div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="100%"><h3>Public methods</h3></th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td width="40%"><code>static final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/material/RadioButtonColors.html">RadioButtonColors</a></code></td> |
| <td> |
| <div><code>@<a href="/reference/androidx/compose/runtime/Composable.html">Composable</a><br><a href="/reference/androidx/compose/material/RadioButtonDefaults.html#colors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)">colors</a>(<br> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/ui/graphics/Color.html">Color</a> selectedColor,<br> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/ui/graphics/Color.html">Color</a> unselectedColor,<br> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/ui/graphics/Color.html">Color</a> disabledColor<br>)</code></div> |
| <p>Creates a <code><a href="/reference/androidx/compose/material/RadioButtonColors.html">RadioButtonColors</a></code> that will animate between the provided colors according to the Material specification.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <h2>Public fields</h2> |
| <div><a name="getINSTANCE()"></a><a name="setINSTANCE()"></a><a name="getINSTANCE--"></a><a name="setINSTANCE--"></a> |
| <h3 class="api-name" id="INSTANCE()">INSTANCE</h3> |
| <pre class="api-signature no-pretty-print">public static @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/material/RadioButtonDefaults.html">RadioButtonDefaults</a> <a href="/reference/androidx/compose/material/RadioButtonDefaults.html#INSTANCE()">INSTANCE</a></pre> |
| </div> |
| <h2>Public methods</h2> |
| <div><a name="colors(androidx.compose.ui.graphics.Color, androidx.compose.ui.graphics.Color, androidx.compose.ui.graphics.Color)"></a><a name="colors-androidx.compose.ui.graphics.Color-androidx.compose.ui.graphics.Color-androidx.compose.ui.graphics.Color-"></a><a name="colors"></a> |
| <h3 class="api-name" id="colors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)">colors</h3> |
| <pre class="api-signature no-pretty-print">@<a href="/reference/androidx/compose/runtime/Composable.html">Composable</a><br>public static final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/material/RadioButtonColors.html">RadioButtonColors</a> <a href="/reference/androidx/compose/material/RadioButtonDefaults.html#colors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)">colors</a>(<br> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/ui/graphics/Color.html">Color</a> selectedColor,<br> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/ui/graphics/Color.html">Color</a> unselectedColor,<br> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/ui/graphics/Color.html">Color</a> disabledColor<br>)</pre> |
| <p>Creates a <code><a href="/reference/androidx/compose/material/RadioButtonColors.html">RadioButtonColors</a></code> that will animate between the provided colors according to the Material specification.</p> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="100%">Parameters</th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/ui/graphics/Color.html">Color</a> selectedColor</code></td> |
| <td> |
| <p>the color to use for the RadioButton when selected and enabled.</p> |
| </td> |
| </tr> |
| <tr> |
| <td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/ui/graphics/Color.html">Color</a> unselectedColor</code></td> |
| <td> |
| <p>the color to use for the RadioButton when unselected and enabled.</p> |
| </td> |
| </tr> |
| <tr> |
| <td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/ui/graphics/Color.html">Color</a> disabledColor</code></td> |
| <td> |
| <p>the color to use for the RadioButton when disabled.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="100%">Returns</th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td width="40%"><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/compose/material/RadioButtonColors.html">RadioButtonColors</a></code></td> |
| <td> |
| <p>the resulting <code><a href="/reference/androidx/compose/ui/graphics/Color.html">Color</a></code> used for the RadioButton</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| </body> |
| </html> |