为什么我的小部件会出现这个错误?state: _StreamBuilderBaseState<UserData, AsyncSnapshot<UserData>>#1e46f):Build functions must never return null.======================================
嗨,我有一个名为basic_plot()的函数,如果变量plot_function = TRUE返回NULL,它将生成一个绘图。这个函数和它所依赖的变量一起嵌入到其他代码中。我想知道的是,如果绘制了情节,我如何才能告诉if()语句?the plot and want to do more stuff.")上面的问题是,如果一个函数绘制了一个图,那么