productBar
inline fun AiutaTheme.Builder.productBar(block: AiutaProductBarTheme.Builder.() -> Unit): AiutaTheme.Builder
Extension function for configuring product bar theme within an AiutaTheme.Builder.
This extension provides a convenient DSL for configuring the product bar theme as part of the main theme setup.
theme {
productBar {
prices = AiutaProductBarPricesTheme.Default()
typography = AiutaProductBarThemeTypography.Default()
toggles = AiutaProductBarThemeToggles.Default()
icons = AiutaProductBarThemeIcons.Default()
}
// Configure other theme components...
}
Content copied to clipboard
Return
The theme builder for method chaining
Parameters
block
Configuration block for setting up the product bar theme