We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: in getx/documentation/en_US /state_management.md Starting from this part of the documentation https://github.com/jonataslaw/getx/blob/master/documentation/en_US/state_management.md#declaring-a-reactive-variable, in the examples provided, observable and reactive variables are declared with their access modifiers set to final.
final
Solution: Replace final with var.
var
Reason for the modification: Reactive and observable variables are mutable and cannot be set to final.
The text was updated successfully, but these errors were encountered:
Actually the properties is not mutable, the reactivity is.
final name = "marcus".obs; Name is final and cannot been changed, but name.value = "MARCUS"; can.
Sorry, something went wrong.
jonataslaw
No branches or pull requests
Problem:
in getx/documentation/en_US
/state_management.md
Starting from this part of the documentation https://github.com/jonataslaw/getx/blob/master/documentation/en_US/state_management.md#declaring-a-reactive-variable,
in the examples provided, observable and reactive variables are declared with their access modifiers set to
final
.Solution:
Replace
final
withvar
.Reason for the modification:
Reactive and observable variables are mutable and cannot be set to
final
.The text was updated successfully, but these errors were encountered: