Accessing the Container a Button is In

So I have a container with a column and a button. In the button's onTap method, I want to access some of the data that's stored in the Column that resides in the same container as the button. How can I go about doing this?


  • You can get any piece of content's parent by using variableThatsTheContent.container then you could iterate through the children of that parent using first next last or by name if you use .name on it.

  • Sweet, I'll give that a try. Thanks Andy!

Sign In or Register to comment.