如果超过行宽,如何在多行中布置子项?

How to layout children in several rows if width of row is exceeded?

一个用例是 material 设计芯片,如果所有芯片都需要可见,则换行到新行。 我如何使用 Jetpack Compose 完成此操作?

使用流式布局。它不是标准 Compose 库的一部分,而是由 Google 开发人员开发的:

https://github.com/google/accompanist/