BuildTooltipOffset typedef
A function that builds the offset of the tooltip.
currentOffset
is the current offset of the tooltip.
parentSize
is the size of the parent widget.
tooltipSize
is the size of the tooltip widget.
Implementation
typedef BuildTooltipOffset = Offset Function(Offset currentOffset, Size parentSize, Size tooltipSize);