There's a version of the slider function that takes a custom thumb and track. Just dig into the code to look at the implementations. But slider itself does not expose a specific way to just change the shape. If you take a look at SliderDefaults object you'll see the default thumb and track implementations
The thumb is implemented as a spacer with a filled shape background, where the shape is:
Copy code
val shape = SliderTokens.HandleShape.toShape()
As for the track, that's drawn manually with the use of a Canvas and a few calls to drawLine
mattinger
12/20/2022, 5:19 AM
Personally, i'm not using material 3 yet. It's pretty incomplete at this point in terms of some basic things like scaffolds and the like still being experimental. Scaffold is one of the first things that people tend to create in their app. The fact that it's experimental in the first GA release of material 3 confuses me.