errorSnackbar
inline fun AiutaTheme.Builder.errorSnackbar(block: AiutaErrorSnackbarTheme.Builder.() -> Unit): AiutaTheme.Builder
Extension function for configuring error snackbar theme within an AiutaTheme.Builder.
This extension provides a convenient DSL for configuring the error snackbar theme as part of the main theme setup.
theme {
errorSnackbar {
strings = AiutaErrorSnackbarThemeStrings.Default()
icons = AiutaErrorSnackbarThemeIcons.Default()
colors = AiutaErrorSnackbarThemeColors.Default()
}
// Configure other theme components...
}
Content copied to clipboard
Return
The theme builder for method chaining
Parameters
block
Configuration block for setting up the error snackbar theme