删除嵌套 listview 因为没必要:
listview
Widget buildDynamicList(BuildContext context) { return new Container( //decoration: new BoxDecoration(border: new Border.all(width: 2.0)), height:200, //fit: FlexFit.loose , child: ListView.builder( //shrinkWrap: true, itemCount: vehicles.length, itemBuilder: (BuildContext ctxt, int index) { return Text("TEE"), } ), ); }