首先把SingleChildScrollView的scrollDirection属性设置为:Axis.horizontal试试看; 不行你再看下面的代码 class THomePage extends StatelessWidget { const THomePage({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( centerTitle: true, title: const Text('Flutter如何实现带有图标和文字的自定义标签?'), backgroundColor: Colors.yellow, ), body: const Center( child: SingleChildScrollView( scrollDirection: Axis.horizontal, child: Row( children: [ SizedBox( width: 20, ), Row( children: [ Icon(Icons.add), Text('AAAAAAAA'), ], ), SizedBox( width: 20, ), Row( children: [ Icon( Icons.add, ), Text('BBBBBBBBB'), ], ), SizedBox( width: 20, ), Row( children: [ Icon(Icons.add), Text('CCCCCCCC'), ], ), SizedBox( width: 20, ), Row( children: [ Icon(Icons.add), Text('DDDDDDDDDD'), ], ), SizedBox( width: 20, ), Row( children: [ Icon(Icons.add), Text('EEEEEEEEEEEEEEEEEEE'), ], ), SizedBox( width: 20, ), Text('F'), SizedBox( width: 20, ), ], ), ), ), ); } }