Start native apps faster with the Composables CLI ->
Object

ButtonDefaults

Contains the default values used by Button.

Source set: Android
public object ButtonDefaults

Contains the default values used by Button.

Functions

buttonColors

Source set: Android
@Composable
    /**
     * Creates a [ButtonColors] that represents the default background and content colors used in a
     * [Button].
     *
     * @param backgroundColor the background color of this [Button]
     * @param contentColor the content color of this [Button]
     */
    public fun buttonColors(
        backgroundColor: ColorProvider = GlanceTheme.colors.primary,
        contentColor: ColorProvider = GlanceTheme.colors.onPrimary,
    ): ButtonColors