remember Atmosphere State
inline fun rememberAtmosphereState(key: String? = null, crossinline init: AtmosphereState.() -> Unit = {}): AtmosphereState
Create and rememberSaveable a AtmosphereState using AtmosphereState.Saver. init will be called when the AtmosphereState is first created to configure its initial state.
Parameters
key
An optional key to be used as a key for the saved value. If not provided we use the automatically generated by the Compose runtime which is unique for the every exact code location in the composition tree.
init
A function initialise this AtmosphereState.