So I created a menu widgetA, which on construction will create another bunch of widgetsN and grabbing data from a class.
Inside the new widgedsN I need access to variables I created in widgetA, the only way I found to do so is to pass the variables each time I create widgetN, basically making a copy of the variable every time, or storing it all in some Data class that I can get access to.
Is there a way to access the variables from widgetA directly instead of having to make copies every time?
TY