LocalItemState¶
val LocalItemState: ProvidableCompositionLocal<ComposeItemState?>
Provides the current ComposeItemContainerMenu's state to composables in the composition tree - the ComposeItemState equivalent of net.kernelpanicsoft.archie.gui.blockentity.LocalBlockEntityState. null when the current screen's menu isn't item-backed.
Use with LocalItemState.current to access the state, or use the observeItemProperty helper for convenience.