https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
l

Lucas

07/05/2022, 4:15 PM
How far is material 3 from being compose-multiplatform ready?
l

Landry Norris

07/05/2022, 4:17 PM
I believe they merged in building material3 for all platforms last week. The latest alpha should have it.
K 1
l

Lucas

07/05/2022, 4:18 PM
Yeah, kinda realized it after posting. Gonna try it right now!
l

Landry Norris

07/05/2022, 4:18 PM
Same with icons extended.
l

Lucas

07/05/2022, 4:18 PM
I keep getting
could not find org.jetbrains.compose.material:material-icons-extended-js:1.2.0-alpha01-dev731
tho
l

Landry Norris

07/05/2022, 4:43 PM
Interesting. It should have been in 731 looking at the timing.
Maybe ope an issue on the repo?
l

Lucas

07/05/2022, 4:57 PM
741 has been release just now. I'm going to try it
l

Landry Norris

07/05/2022, 5:19 PM
Yeah. I noticed that it didn’t get merged into the upstream androidx until yesterday.
l

Lucas

07/05/2022, 7:53 PM
t

Thomas

07/06/2022, 6:07 PM
On Windows it is working quite great, I am using it in production 🙂 https://www.microsoft.com/store/apps/9NLRL58VZCK9
l

Lucas

07/06/2022, 6:07 PM
A few components are missing tho, arent they?
Not sure if its for multiplatform only
t

Thomas

07/06/2022, 6:09 PM
Well if it is already available on https://cs.android.com/ you can just copy/paste it into your project. Otherwise you would need to use material (2) library.
If I remember correctly my app only uses material3 components. Some of them were copied into my project though because they were Android only, so I had to adapt them for multiplatform.
l

Lucas

07/06/2022, 6:10 PM
I see. I thought about that but ended giving up. Might give it a try, since it worked for you
t

Thomas

07/06/2022, 6:12 PM
If you are running into issues where you need to access internal compose code, you can use this (bad) workaround: https://kotlinlang.slack.com/archives/C01D6HTPATV/p1652467602068519?thread_ts=1652465477.640219&cid=C01D6HTPATV. I use that in some places where I needed to copy the source files that use internal code.
👍 1
34 Views