localStoreOf

fun <T> localStoreOf(defaultFactory: () -> Store<T> = { null!! }): ProvidableCompositionLocal<Store<T>>

Creates static CompositionLocal for a Store with a given state T.