Rich Tooltip Box
A rich tooltip convenience that wraps TooltipBox + RichTooltip with an optional title and a single text action. The action invokes onActionClick then dismisses the tooltip.
The tooltip is persistent: trigger it via long press / hover, or hoist state and call TooltipState.show from the anchor's own click. It is dismissed by an outside tap, a back press, or the action.
Parameters
the body text of the tooltip.
the modifier applied to the anchor wrapper.
the TooltipState controlling visibility.
the optional title shown above the body.
the optional action label.
called when the action is clicked, before the tooltip is dismissed.
whether hover / long press on the anchor shows the tooltip.
the preferred TooltipAnchorPosition of the tooltip.
the RichTooltipColors of the tooltip.
the anchor content.