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
I initialize a Computed value right before initialize my widget, Computed.value will throw an exception in Observer.
however Observable that just created would NOT.
If I initialize the Computed value long time before I initialize my widget, Computed.value will NOT throw an exception.
btw, I am using master branch, and I am using it in a real project.
@copydog Its awesome that you are already trying out on a real project 👍
I suggest you create the computed-value outside of the build method. Ideally put the state in a separate class and use that class in the StatefulWidget. I should have an example soon.
I did put computed-value outside the build method. It initialized Computed.value in the initState() of the State that using Observer. I will double check this exception and send a small example if located the problem (if there is any).
I initialize a Computed value right before initialize my widget, Computed.value will throw an exception in Observer.
however Observable that just created would NOT.
If I initialize the Computed value long time before I initialize my widget, Computed.value will NOT throw an exception.
btw, I am using master branch, and I am using it in a real project.
here is the stacktrace:
Edit by @katis : quoted the stacktrace as it was accidentally referencing every issue we have
The text was updated successfully, but these errors were encountered: