解决方法
使用
Wrap
而不是Flow.
Flow用于更复杂的自定义布局. Wrap是用于实现屏幕截图中布局的内容.
new Wrap( spacing: 8.0,// gap between adjacent chips runSpacing: 4.0,// gap between lines children: <Widget>[ new Chip( avatar: new CircleAvatar(backgroundColor: Colors.blue.shade900,child: new Text('AH')),label: new Text('Hamilton'),),new Chip( avatar: new CircleAvatar(backgroundColor: Colors.blue.shade900,child: new Text('ML')),label: new Text('Lafayette'),child: new Text('HM')),label: new Text('Mulligan'),child: new Text('JL')),label: new Text('Laurens'),],)