errorSnackbar

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...
}

Return

The theme builder for method chaining

Parameters

block

Configuration block for setting up the error snackbar theme

See also