您可以轻松地使用Wrap
小部件https://api.flutter.dev/flutter/widgets/Wrap-class.html
Wrap(
spacing: 8.0, // gap between adjacent chips
runSpacing: 4.0, // gap between lines
children: <Widget>[
Chip(
label: Text('Mobiles'),
),
Chip(
label: Text('Tabletes'),
),
Chip(
label: Text('Vip Phone Number'),
),
Chip(
label: Text('Mobile - Tablet Spare Parts'),
),
],
)