构建.gradle.kts
我尝试添加此依赖项
我想在 compose multiplatform for desk 中使用 ConstraintLayput,但不知道如何正确添加 compose 的 ConstraintLayout 的依赖
请更改您的依赖关系:
实现(“androidx.constraintlayout:constraintlayout-compose:1.0.1”)
并使用 linkTo() 方法进行约束 希望对你有帮助☺️