hookSnackBar
suspend fun ERROR CLASS: Symbol not found for SharedFlow<io/rekast/sdk/sample/utils/SnackBarComponentConfiguration>.hookSnackBar(scaffoldState: ERROR CLASS: Symbol not found for ScaffoldState, context: Context, onDisplay: (SnackBarComponentConfiguration) -> Unit = {}, action: () -> Unit = {})
Collects this SharedFlow and shows a Snackbar via scaffoldState for each emitted SnackBarComponentConfiguration that contains a non-empty message.
Parameters
scaffoldState
ScaffoldState used to display the snackbar.
context
Context used to resolve the configuration's SnackBarComponentConfiguration.messageResId (and its format args) into a display string.
onDisplay
Callback invoked with each configuration immediately before its snackbar is shown; use it to drive per-message styling (e.g. success/error colors). Defaults to no-op.
action
Optional callback invoked when the snackbar action is performed; defaults to no-op.