passsy / spot

Chainable powerful Flutter widget selector API, screenshots and assertions for awesome widget tests.
https://pub.dev/packages/spot
Apache License 2.0
62 stars 1 forks source link

spotWidgetAtPosition #28

Open robiness opened 10 months ago

robiness commented 10 months ago

I'd love a function to find widgets on a position on screen. For example

spot().spotWidgetsAtPosition(Offset offset) returns a full list of all widgets found at that position.

spot().spotWidgetAtPosition<T>(Offset offset) returns the first widget of that Type on that position.