remember Layer Interactions State
inline fun rememberLayerInteractionsState(crossinline init: LayerInteractionsState.() -> Unit = {}): LayerInteractionsState
Convenient method to create a LayerInteractionsState and remember it with the init block.
Return
Parameters
init
the initialization block applied to the LayerInteractionsState after it is created and remembered.