Reputation: 2259
I want to determine the position and size of a widget in Flutter by obtaining its RenderBox. To achieve this, I assigned a GlobalKey to the widget and used it to access the RenderBox. However, while this approach allows me to retrieve the widget's position and size, it disrupts animations within the widget's child elements. How can I resolve this issue without compromising the animations?
Upvotes: 1
Views: 28