PlainTooltip
fun TooltipScope.PlainTooltip(modifier: Modifier = Modifier, caretSize: DpSize = DpSize.Unspecified, shape: Shape = TooltipDefaults.plainTooltipContainerShape, contentColor: Color = TooltipDefaults.plainTooltipContentColor, containerColor: Color = TooltipDefaults.plainTooltipContainerColor, tonalElevation: Dp = 0.dp, shadowElevation: Dp = 0.dp, content: @Composable () -> Unit)
Plain tooltip that provides a descriptive message.
Usually used with TooltipBox.
Parameters
modifier
the Modifier to be applied to the tooltip.
caretSize
DpSize for the caret of the tooltip, if a default
caret is desired with a specific dimension. Please see TooltipDefaults.caretSize to
see the default dimensions. Pass in Dp.Unspecified for this parameter if no caret is desired.
shape
the Shape that should be applied to the tooltip container.
contentColor
Color that will be applied to the tooltip's content.
containerColor
Color that will be applied to the tooltip's container.
tonalElevation
the tonal elevation of the tooltip.
shadowElevation
the shadow elevation of the tooltip.
content
the composable that will be used to populate the tooltip's content.