List <Widget> _listView(){ return listData.map((f)=>Text(f)).toList(); }. 然后在build的方法中调用. Column( children:_listView(), ). 全部代码.
確定! 回上一頁