Stylish Snackbar Host
fun StylishSnackbarHost(hostState: SnackbarHostState, modifier: Modifier = Modifier, shape: Shape = RoundedCornerShape(StylishTheme.dimensions.connectedCornerRadius), containerColor: Color = MaterialTheme.colorScheme.inverseSurface, contentColor: Color = MaterialTheme.colorScheme.inverseOnSurface, actionColor: Color = MaterialTheme.colorScheme.inversePrimary)
A SnackbarHost that renders each snackbar with StylishSnackbar. Place this inside a com.segnities007.stylishui.components.patterns.StylishScaffold's snackbarHost slot.
Parameters
host State
The SnackbarHostState that queues snackbar messages.
modifier
Modifier applied to the host.
shape
Corner shape forwarded to StylishSnackbar.
container Color
Background color forwarded to StylishSnackbar.
content Color
Content color forwarded to StylishSnackbar.
action Color
Action color forwarded to StylishSnackbar.