You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within my app, I'm calling the same FlareActor twice (through a private stateless widget) but with different callback functions. The first callback calls a null (it loops a loading animation so it's not going use the callback either way) and the second time it's a function that notifies that the 'done' animation is complete.
I've modified my code to provide some helpful print statements (including changing the parent).
Notice how flutter (and thus the widget) has the reference to the new function (which goes to void) but FlareActor is calling the old function? Am I doing something wrong or is this not intended?
The text was updated successfully, but these errors were encountered:
Within my app, I'm calling the same FlareActor twice (through a private stateless widget) but with different callback functions. The first callback calls a null (it loops a loading animation so it's not going use the callback either way) and the second time it's a function that notifies that the 'done' animation is complete.
I've modified my code to provide some helpful print statements (including changing the parent).
Stateless Widget (with FlareActor)
Parent Widget (Important bits only)
So I expect the FlareActor to call the new function, but that's not what happens.
Print Statements
Notice how flutter (and thus the widget) has the reference to the new function (which goes to void) but FlareActor is calling the old function? Am I doing something wrong or is this not intended?
The text was updated successfully, but these errors were encountered: