Package-level declarations
Types
Functions
Link copied to clipboard
Convenience Composable to determine the current device locale
Link copied to clipboard
The default style that can be applied to Icon
s present within primary Button
s
Link copied to clipboard
Link copied to clipboard
fun SnackbarRequirements.showSnackbar(@StringRes message: Int, @StringRes actionLabel: Int? = null, duration: SnackbarDuration = if (actionLabel == null) SnackbarDuration.Short else SnackbarDuration.Indefinite, withDismissAction: Boolean = duration == SnackbarDuration.Indefinite, onSnackbarResult: (SnackbarResult) -> Unit = {}): Unit?
fun SnackbarRequirements.showSnackbar(message: String, actionLabel: String? = null, duration: SnackbarDuration = if (actionLabel == null) SnackbarDuration.Short else SnackbarDuration.Indefinite, withDismissAction: Boolean = duration == SnackbarDuration.Indefinite, onSnackbarResult: (SnackbarResult) -> Unit = {}): Job?
fun SnackbarHostState.showSnackbar(context: Context, scope: CoroutineScope, @StringRes message: Int, @StringRes actionLabel: Int? = null, duration: SnackbarDuration = if (actionLabel == null) SnackbarDuration.Short else SnackbarDuration.Indefinite, withDismissAction: Boolean = duration == SnackbarDuration.Indefinite, onSnackbarResult: (SnackbarResult) -> Unit = {})
Link copied to clipboard