`@Suppress("INVISIBLE_MEMBER")`is my new friend when working with compose (allows to use `internal`declarations in different module).
☝️ 2
t
Thomas
05/04/2022, 10:43 PM
Wow this is amazing, thanks for sharing. Really helpful for material3.
z
Zach Klippenstein (he/him) [MOD]
05/10/2022, 3:01 PM
What internal declarations are you using? This seems dangerous
t
Thomas
05/10/2022, 3:55 PM
I am using it a lot now to copy material3 classes into my project to make fixes or modifications. With this annotation I don’t need to copy as much as without it (for example all of the token classes). It is really helpful. Hopefully in the future the token classes are made public as currently it does not allow for customisations.
z
Zach Klippenstein (he/him) [MOD]
05/13/2022, 2:51 PM
Have you filed a bug/feature request? Would be a good signal to the material3 team that the current APIs aren’t enough.