bensonarafat / super_tooltip

SuperTooltip It is super flexible and allows you to display ToolTips in the overlay of the screen.
https://pub.dev/packages/super_tooltip
MIT License
141 stars 95 forks source link

Show tooltip using a key #20

Closed tbarbette closed 5 months ago

tbarbette commented 3 years ago

Hi,

Is it possible to show the tooltip at a given location using a key? Eg :


FloatingActionButton(
    key: _navigation
    ...

And then do tooltip.show(_navigation) ? That would be very helpful :) Keeping the BuildContext is cumbersome in some cases.

escamoteur commented 3 years ago

Checkout the branch 'newVersion' and tell us what you think about this approach?

tbarbette commented 3 years ago

I looked at the branch but I don't see any difference in the readme doc? Where should I look at? Thanks for this plugin by the way :) I'm sending PR and issues but it's working great already :)

escamoteur commented 3 years ago

Hi, yeah, sorry, we didn't have time yet to update the reamdme, I recomment to check out the example. I will check your PR now, thanks