Package-level declarations

Types

Link copied to clipboard
class SnackbarController(scope: CoroutineScope)
Link copied to clipboard

Object to hold defaults used by Snackbar

Functions

Link copied to clipboard
fun CustomSnackbar(    snackbarData: SnackbarData,     modifier: Modifier = Modifier,     actionOnNewLine: Boolean = false,     textStyle: TextStyle = MaterialTheme.typography.h3,     shape: Shape = MaterialTheme.shapes.small,     backgroundColor: Color = SnackbarDefaults.backgroundColor,     contentColor: Color = MaterialTheme.colors.surface,     actionColor: Color = SnackbarDefaults.primaryActionColor,     elevation: Dp = 6.dp)
Link copied to clipboard
fun SnackbarController.showSnack(scaffoldState: ScaffoldState, message: String)
Link copied to clipboard
fun Snackbar(    modifier: Modifier = Modifier,     action: @Composable () -> Unit? = null,     actionOnNewLine: Boolean = false,     shape: Shape = MaterialTheme.shapes.small,     backgroundColor: Color = SnackbarDefaults.backgroundColor,     contentColor: Color = MaterialTheme.colors.surface,     elevation: Dp = 6.dp,     content: @Composable () -> Unit)
Link copied to clipboard
fun SnackbarCustomized(    modifier: Modifier = Modifier,     snackHost: SnackbarHostState,     bgColor: Color = artichoke,     contentColor: Color = cosmicLatte,     textStyle: TextStyle = LocalTextStyle.current,     shape: Shape = RoundedCornerShape(15.dp))