flutterdartwidgetflutter-getxflutter-debug

Trying to debug in flutter I go error from obx how to fix it


I have a code which can be seen here

trying to debug it I got this error, I don't know where I made mistake in the Obx function as started by flutter.

enter image description here


Solution

  • Try to wrap the Scaffold into Obx if you need to update the state on whole widget tree or the ListTile to Update the specific widget.