SwipeDismissableNavHostState

class SwipeDismissableNavHostState


State for SwipeDismissableNavHost

Summary

Public constructors

SwipeDismissableNavHostState(
    swipeToDismissBoxState: SwipeToDismissBoxState
)
SwipeDismissableNavHostState(
    swipeToDismissBoxState: SwipeToDismissBoxState
)

This function is deprecated. This overload is provided for backward compatibility.

Public constructors

SwipeDismissableNavHostState

Added in 1.4.0
SwipeDismissableNavHostState(
    swipeToDismissBoxState: SwipeToDismissBoxState
)
Parameters
swipeToDismissBoxState: SwipeToDismissBoxState

State for BasicSwipeToDismissBox, which is used to support the swipe-to-dismiss gesture in SwipeDismissableNavHost and can also be used to support edge-swiping, using edgeSwipeToDismiss.

SwipeDismissableNavHostState

Added in 1.0.0
Deprecated in 1.4.0
SwipeDismissableNavHostState(
    swipeToDismissBoxState: SwipeToDismissBoxState
)