How to use ConstraintLayout in compose multiplatform for desk

171 Views Asked by At

build.gradle.kts

enter image description here

I tried to add this dependency

enter image description here

I want to use ConstraintLayput in compose multiplatform for desk, but I don't know how to correctly add the dependency of compose's ConstraintLayout

1

There are 1 best solutions below

0
On

Please change your dependency with:

implementation("androidx.constraintlayout:constraintlayout-compose:1.0.1")

and use the linkTo() method of constraint