GroupSubscriptionSnackbarHost
fun GroupSubscriptionSnackbarHost(snackbarHostState: SnackbarHostState, style: GroupSubscriptionStyle = GroupSubscriptionStyle.Light())
Composable that displays and host for Group Subscription snackbars.
In most cases you need to use it along with a widget that provides Group Subscription functionality. The only exception is when widget constructor doesn't accept SnackbarHostState. You should place it where you want snackbars to appear, respecting screen insets.
Since
2.5.0
Parameters
snackbarHostState
The host state for snackbars. You need to pass this value to the widget as well in the corresponding parameter.
style
The style of the widget, will be used for styling snackbars. You need to pass the same value as the one use pass to the widget.