Error Snackbar Scheme¶
Error message presentation, including error icons and retry button styling.
Error Snackbar¶
ErrorSnackbarTheme {
strings {
defaultErrorMessage: String // (1)!
tryAgainButton: String // (2)!
}
icons {
error36: Icon // (3)!
}
colors {
errorBackground: Color // (4)!
errorPrimary: Color // (5)!
}
}
- Defines the default text message displayed when an error occurs in the interface.
- Specifies the text label for the retry action button in the error snackbar.
- Sets the icon displayed to indicate the error state in the snackbar.
- Controls the background color of the error snackbar component.
- Defines the primary color used for error-related elements in the snackbar.