The type of the function literal can't be inferred because the literal has a block as its body.

在写flutter代码的时候,出现标题所述的警告,只须要在代码上方添加如下注释便可消除警告html // ignore: strong_mode_top_level_function_literal_block
相关文章
相关标签/搜索