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, 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.

action

Optional callback invoked when the snackbar action is performed; defaults to no-op.