replaceCurrentWith

suspend fun replaceCurrentWith(makeSnackbar: Context.() -> SnackbarVisuals): SnackbarResult

Dismisses the currently shown snackbar before showing visuals created with this controller's Context.

Suspends until the replacement snackbar is dismissed or its action is performed.


actual suspend fun replaceCurrentWith(visuals: SnackbarVisuals): SnackbarResult

Dismisses the currently shown snackbar before showing visuals.

Suspends until the replacement snackbar is dismissed or its action is performed.

expect suspend fun replaceCurrentWith(visuals: SnackbarVisuals): SnackbarResult

Dismisses the currently shown snackbar before showing visuals.

Suspends until the replacement snackbar is dismissed or its action is performed.

actual suspend fun replaceCurrentWith(visuals: SnackbarVisuals): SnackbarResult

Dismisses the currently shown snackbar before showing visuals.

Suspends until the replacement snackbar is dismissed or its action is performed.