Package-level declarations
Types
Link copied to clipboard
interface VisibilityState
Interface defining the contract for managing visibility state and behavior.
Link copied to clipboard
typealias VisibilityStateFactoryProvider<T> = @DisallowComposableCalls () -> VisibilityState.Factory<T>
Typealias for a provider function that creates a VisibilityState.Factory instance.
Functions
Link copied to clipboard
Provides a MutableState of VisibilityState that is remembered across recompositions.
inline fun <T : VisibilityState> rememberVisibilityState(initialState: Boolean = false, factory: VisibilityState.Factory<T>): MutableState<T>
Provides a MutableState of VisibilityState using the provided factory to create it.
inline fun <T : VisibilityState> rememberVisibilityState(initialState: Boolean = false, crossinline factoryProvider: VisibilityStateFactoryProvider<T>): MutableState<T>
Provides a MutableState of VisibilityState using a factory provider function to create it.
Link copied to clipboard
inline fun <T : VisibilityState> MutableState<T>.withConfiguration(noinline block: @DisallowComposableCalls T.() -> Unit): MutableState<T>
Configures a MutableState of type VisibilityState with a configuration block.