废话不多说 直接上代码 官方的写法
list tabs=[{},{},{}]; tabs.asMap().keys.map((item)=>Container( child:Text("${'索引值'+item}"), )).toList()
要获取某一项只能tabs[索引] 来获取