rememberTooltipState

fun rememberTooltipState(initialIsVisible: Boolean = false, isPersistent: Boolean = false, mutatorMutex: MutatorMutex = BasicTooltipDefaults.GlobalMutatorMutex): TooltipState

Creates and remembers a TooltipState.

Parameters

initialIsVisible

whether the tooltip is initially visible.

isPersistent

whether the tooltip stays visible until explicitly dismissed.

mutatorMutex

the MutatorMutex used to ensure only one tooltip is shown at a time.