Category "statefulwidget"

use getx in flutter datatable's datasource instead of stateful widget

I tried to change rowCount dynamically using Getx in flutter's Datatable DataSource, but it didn't change when I surrounded it with obx. If I check with ever ()

Variable scope within the Flutter StatefulWidget

I'm trying to access the moviesList inside the build() and results as follows. What is the real issue? flutter: ══╡ EXCEPTION CAUGHT BY WIDGET