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
Steps to reproduce the behavior:
Supplement the code above and then run it.
Flutter Version:
3.19.6
Getx Version:
4.6.1
Describe on which device you found the bug:
any
I know the reason for the error is that the obs value is not accessed internally in obx. I want to know how to use Obx and PopupMenuButton together? Because itemBuilder must return a list of PopupMenuEntry, and Obx cannot be placed here, only outside. But now there is an error, is there a good solution?
The text was updated successfully, but these errors were encountered:
[Get] the improper use of a GetX has been detected.
You should only use GetX or Obx for the specific widget that will be updated.
Steps to reproduce the behavior:
Supplement the code above and then run it.
Flutter Version:
3.19.6
Getx Version:
4.6.1
Describe on which device you found the bug:
any
I know the reason for the error is that the obs value is not accessed internally in obx. I want to know how to use Obx and PopupMenuButton together? Because itemBuilder must return a list of PopupMenuEntry, and Obx cannot be placed here, only outside. But now there is an error, is there a good solution?
The text was updated successfully, but these errors were encountered: