Package-level declarations

Types

Link copied to clipboard
data class AppVersionInfo(val versionName: String?, val versionCode: Long)

Data class representing the version information of an application.

Link copied to clipboard
data class CustomSnackbarVisuals(val message: String, val actionLabel: String? = null, val withDismissAction: Boolean = false, val duration: SnackbarDuration = SnackbarDuration.Short, val isError: Boolean = false, val icon: ToolkitIcon? = null, val colors: ToolkitSnackbarColors? = null, val content: @Composable (SnackbarData) -> Unit? = null) : SnackbarVisuals

A custom implementation of androidx.compose.material3.SnackbarVisuals to provide additional styling options, such as displaying an error state.

Link copied to clipboard
data class ToolkitSnackbarColors(val containerColor: Color, val contentColor: Color, val actionColor: Color)

Colours for one snackbar, replacing those of its ToolkitSnackbarStyle.

Link copied to clipboard

The Toolkit's two snackbar looks: the inverse surface of Material, and the error colours.