Replies: 1 comment 4 replies
-
Declare you variable as In your view use controller.isLoadingCategory() inside the Obx. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have created a simple controller like this:
And here is the code in view:
But this will output the warning said
[Get] the improper use of a GetX has been detected.
so I change it like this:But it always show
Text('Loading')
although I have setisLoadingCategory
equalfalse
, how to fix this? ThankBeta Was this translation helpful? Give feedback.
All reactions