body: Center( mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.spaceAround,
children: <WidgetThe element type 'List<SizedBox>' can
我不明白在从子元素中删除正方形brackets[]之后,如何使用列小部件。我想从字符串元素列表中创建一个卡片列表。我使用了map方法来完成这个任务。我在列小部件中使用map方法,它经常显示错误The element type 'List<Card>' can't be assigned to the list type 'Widget'。我通过将flights.map((元素</em