jQrgen
09/22/2023, 11:52 AMzsmb
09/22/2023, 1:02 PM@OptIn(org.jetbrains.compose.ExperimentalComposeLibrary::class)
implementation(compose.components.resources)
Then you just call the painterResource
method and pass in the path of the image to draw, as seen here.
---
Another option is moko-resources which can work with SVG images.jQrgen
09/26/2023, 1:42 PMzsmb
09/26/2023, 1:45 PMjQrgen
09/26/2023, 1:46 PMstreetsofboston
09/26/2023, 1:52 PMzsmb
09/26/2023, 1:55 PMjQrgen
09/26/2023, 3:48 PMAnimatedVisibility
is a nice to have based from the example?