According to How to Use Tooltips in Jetpack Compose
There are now TooltipBox function (added in 1.2.1 version in androidx.compose.material3 dependency)
The TooltipBox function is defined as follows.
fun TooltipBox(
positionProvider: PopupPositionProvider,
tooltip: @Composable TooltipScope.() -> Unit,
state: TooltipState,
modifier: Modifier = Modifier,
focusable: Boolean = true,
enableUserInput: Boolean = true,
content: @Composable () -> Unit,
)
There are no PlainTooltipBox function in 1.3.1 version in androidx.compose.material3 dependency.
No PlainTooltipBox function in 1.3.1 version in androidx.compose.material3 dependency.
Here are code snippets of libs.version.toml (I use the Maven)
[versions]
// ...
material3 = "1.3.1"
[libraries]
// ...
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "material3" }