Question about tooltips The `TooltipBox` composab...
# compose
z
Question about tooltips The
TooltipBox
composable doesn't have default value for
positionProvider
or
state
params, which most of the time will just be
TooltipDefaults.rememberPlainTooltipPositionProvider()
and
rememberTooltipState()
respectively. Is there a specific reason that it doesn't have a default value? I can't think of any reason why they have no default value. If a developer needs to change the behavior they can already pass in a different value
Actually I forgot that plain tooltips and rich tooltips have a different position provider, so that might not work with a default value. But state could still have a default