https://kotlinlang.org logo
a

Archie

09/14/2020, 12:58 PM
Where can I see these sample codes written in the documentation?
Copy code
*
 * @sample androidx.compose.material.samples.ButtonSample
 *
 * If you need to add an icon just put it inside the [content] slot together with a spacing
 * and a text:
 *
 * @sample androidx.compose.material.samples.ButtonWithIconSample
y

Yann Badoual

09/14/2020, 1:07 PM
It's also available on the android website doc