Home > Mobile >  Getx using obx for RxList
Getx using obx for RxList

Time:01-09

so i have a list in Getx controller then i have a multiple component in a listview and i put every component with different list and i wrap the listview parent with obx but it give me this warning and not updating the state without the list added with .refresh()

i just want to wrap the widget with obx then update but it throws error

enter image description here

enter image description here

CodePudding user response:

I just flund the answer, for RxList we just need to add .toList() after the list name list.toList() different with other value using .value

  • Related