Hi I’m using Material3 v1.0.1 (Stable), using the ...
# android
f
Hi I’m using Material3 v1.0.1 (Stable), using the latest BOM, when I use the OutlinedTextField, I need to opt in for ExperimentalMaterial3Api. If I am using the stable version of Material3 shouldn’t OutlinedTextField be the release stable version. I’m pretty new to android dev so apologies if I’ve missed something here
k
That's not always the case, even if the library is stable some subparts of it may still be marked as "experimental"
f
I had a look at https://material.io/blog/material-3-compose-stable, Many of the Material components, like
Card
,
RadioButton
and
CheckBox
, are no longer considered experimental; their APIs are stable and they can be used without the `ExperimentalMaterial3Api`annotation
So that would imply that some components are not stable and need ExperimentalMaterial3Api. I was really just checking that I’m not importing the wrong library or something, but it sounds like I will just need to include ExperimentalMaterial3Api
k
It mentions some of them, not all of them. So yeah, that implies some are still marked as experimental, just check that you're declaring the latest version
f
cool thanks