button
inline fun AiutaTheme.Builder.button(block: AiutaButtonTheme.Builder.() -> Unit): AiutaTheme.Builder
Extension function for configuring button theme within an AiutaTheme.Builder.
This extension provides a convenient DSL for configuring the button theme as part of the main theme setup.
theme {
button {
typography = AiutaButtonThemeTypography.Default()
shapes = AiutaButtonThemeShapes.Default()
}
// Configure other theme components...
}
Content copied to clipboard
Return
The theme builder for method chaining
Parameters
block
Configuration block for setting up the button theme