我想要一张能显示上周数据的图表。因此,我使用bezier_chart。一切正常,但我希望显示的数据在一个列表中。错误是:type 'List<dynamic>' is not a subtype of type 'List<DataPoint<DateTime>>' of 'functionresult'。有没有人知道这个问题的解决方案?这是我在BezierChart中的代码: child:
我在代码上看不到任何需要修改的地方。而且,当我编译的时候,我得到了这个错误: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════The following _TypeError was thrown building HomeScreen(dirty, state: _HomeScreenState#e34f3): String selectedItem;