androidx / constraintlayout

ConstraintLayout is an Android layout component which allows you to position and size widgets in a flexible way
Apache License 2.0
1.06k stars 177 forks source link

ConstraintLayoutReference.id is internal in alpha version #841

Open iZakirSheikh opened 8 months ago

iZakirSheikh commented 8 months ago

Hello, I am using ConstraintLayout Compose version 1.0.1-alpha07 and I noticed that the property id of ConstraintLayoutReference is now internal, whereas it was public in version 1.0.1. This change makes it difficult to create different constraint sets dynamically, as I have to use createRefFor or createRefsFor functions instead of directly referencing the ids of the references. Is there a reason for making this property internal? If not, could you please consider making it public again, or provide a way to create constraints statically with a modifier like Modifier.layoutId? Thank you for your attention and your great work on this library.