Is there a way to get absolute coordinates of element on the screen in flutter? I'm finding element by key, but I also need it's coordinates (or at leas center). I found that flutter driver has some methods for this, like:
driver.getTopLeft(find.byValueKey('some_element_key'));
driver.getBottomRight(find.byValueKey('some_element_key'));
But it looks like that returned values are relative to parent element.
driver.getRenderObjectDiagnostics(find.byValueKey('accounts'));
driver.getWidgetDiagnostics(find.byValueKey('accounts'));
Both of these methods return the same coordinates.