How to use ConstraintLayout in compose multiplatform for desk

154 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 answers

0
abolfazl oskooii On

Please change your dependency with:

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

and use the linkTo() method of constraint