bottomSheet
inline fun AiutaTheme.Builder.bottomSheet(block: AiutaBottomSheetTheme.Builder.() -> Unit): AiutaTheme.Builder
Extension function for configuring bottom sheet theme within an AiutaTheme.Builder.
This extension provides a convenient DSL for configuring the bottom sheet theme as part of the main theme setup.
theme {
bottomSheet {
typography = AiutaBottomSheetThemeTypography.Default()
shapes = AiutaBottomSheetThemeShapes.Default()
grabber = AiutaBottomSheetThemeGrabber.Default()
toggles = AiutaBottomSheetThemeToggles.Default()
}
// Configure other theme components...
}
Content copied to clipboard
Return
The theme builder for method chaining
Parameters
block
Configuration block for setting up the bottom sheet theme