LocalLayerManagerOrNull¶
val LocalLayerManagerOrNull: ProvidableCompositionLocal<LayerStackManager?>
Like LocalLayerManager, but null instead of throwing when there's no LayerStackManager in scope - for code that wants to opportunistically interact with one (e.g. net.kernelpanicsoft.archie.gui.theme.Theme publishing LayerStackManager.rootTheme) without requiring every caller to run inside a net.kernelpanicsoft.archie.gui.ComposeScreen.