@@ -58,7 +58,9 @@ dependencies {
5858- [ Dimension Conversion] ( #dimension-conversion )
5959- [ Color Conversion] ( #color-conversion )
6060- [ Map Conversion] ( #map-conversion )
61- - [ Drawer State] ( #drawer-state )
61+ - [ Drawer State] ( #drawerstate )
62+ - [ SnackbarHostState] ( #snackbarhoststate )
63+ - [ Easing] ( #easing )
6264- [ Permission States] ( #permission-states )
6365
6466## State Savers
@@ -219,7 +221,7 @@ fun String.toComposeColor(): Color
219221fun <K , V > Map <K , V >.toMutableStateMap (): SnapshotStateMap <K , V >
220222```
221223
222- ## Drawer State
224+ ## DrawerState
223225
224226``` kotlin
225227/* *
@@ -234,6 +236,31 @@ fun DrawerState.visibilityPercentage(@FloatRange(from = 0.0) maxWidthPx: Float):
234236fun DrawerState.rememberVisibilityPercentage (@FloatRange(from = 0.0 ) maxWidthPx : Float = DrawerDefaults .MaximumDrawerWidth .toPx()): State <Float >
235237```
236238
239+ ## SnackbarHostState
240+
241+ ``` kotlin
242+ /* *
243+ * Dismisses the currently showing snackbar if there is one and shows a new one with the given [snackbarVisuals].
244+ */
245+ suspend fun SnackbarHostState.dismissCurrentSnackbarAndShow (snackbarVisuals : SnackbarVisuals )
246+
247+ /* *
248+ * Dismisses the currently showing snackbar if there is one and shows a new one with the given parameters.
249+ */
250+ suspend fun SnackbarHostState.dismissCurrentSnackbarAndShow (
251+ message : String ,
252+ actionLabel : String? = null,
253+ withDismissAction : Boolean = false,
254+ duration : SnackbarDuration = if (actionLabel == null) SnackbarDuration .Short else SnackbarDuration .Indefinite
255+ )
256+ ```
257+
258+ ## Easing
259+
260+ ``` kotlin
261+ fun TimeInterpolator.toEasing () = Easing
262+ ```
263+
237264## Permission States
238265
239266``` kotlin
0 commit comments