我收到错误:[Get] the improper use of a GetX has been detected.MealRecipesItemState extends State<MealRecipesItem> { Get.putMaterial( onTap: _toggleFavorite,
child: C
我在两个路由中使用Obs/Obx,一个可以正常工作,但另一个不行。= CountController.to;",设置obs变量等,唯一的区别是小部件的类型,但当我运行它时,我得到了错误: widgets库===捕获到=异常以下消息在生成Obx时抛出( has builder,dirty,state:_ObxState#11cd1):检测到GetX的不当使用。您应该只对要更新<em
因此,我尝试使用getx从一个流构建器中更改singleStudentDataMobile打开中的一些值,它会抛出这个错误,我不知道要修复这个错误。它是从firebase获取数据并显示数据的,这个页面将显示当点击listview时的所有细节。` [Get] the improper use of a GetX has bee
我正在使用GetX并大量使用Obx以一种反应性的方式通过UI构建,然而,每当我需要对Rx变量进行一些处理时,我总是会出错,结果导致了这样的错误:
[Get] the improper useYou should only use GetX or Obx for the specific widget that will be updated.If you are seeing this error, yo
我试图在flutter的数据表DataSource中使用Getx动态更改rowCount,但当我用obx包围它时,它并没有更改。如果我使用ever ()检查,数据源更改本身被正确检测到,但由于某种原因,屏幕没有更新。毕竟,我通过使用有状态窗口小部件成功地实现了动态更改,但是有谁知道如何使用getx做到这一点吗? ? 使用getx: class _MyDataTable extends Stat