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 92 forks source link

Decoration need to have access target property #107

Closed Sourav-Sonkar closed 1 week ago

Sourav-Sonkar commented 1 month ago

Decoration need to have access target property,as if we need to pass a custom shape , then we need get access to the target property.

Suggestion to have a call back method which provides target in the supertooltip

typedef DecorationBuilder = Decoration Function(
  Offset target,
);
Sourav-Sonkar commented 1 month ago

Tried this locally , will raise pr for this

Sourav-Sonkar commented 1 month ago

https://github.com/bensonarafat/super_tooltip/pull/108

Sourav-Sonkar commented 1 week ago

PR merged closing this