Nikky
06/07/2024, 2:35 PMMarcin Wisniowski
06/13/2024, 6:31 PMNikky
06/14/2024, 10:59 AMMarcin Wisniowski
06/14/2024, 12:50 PMCanvas
to draw the design, or try to build it from separate smaller elements (e.g. the slider handle is a Box
with Modifier.clip(RoundedCornerShape())
, or a combination of the two. You can either draw the text in the canvas, or use an actual Text
element depending on the approach. Once you have it displayed, you can add the actual gesture support with Modifier.draggable
or similar.
I’d use Canvas
to draw all the shapes except the text, and put it into a Box
with a Text
for the label, and add the gesture detection on the Box
.Marcin Wisniowski
06/14/2024, 12:53 PMNikky
06/14/2024, 12:56 PMNikky
06/14/2024, 12:56 PMNikky
06/14/2024, 4:01 PMMarcin Wisniowski
06/14/2024, 8:06 PMNikky
06/14/2024, 8:34 PM