Various shapes drawn with Jetpack Compose
Name | Screenshot | Code |
---|---|---|
Regular Polygons |
|
Name | Screenshot | Code |
---|---|---|
Star |
|
Step 1. Add it in your root build.gradle at the end of repositories
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven(url = "https://jitpack.io")
}
}
Step 2. Add the dependency
dependencies {
implementation("com.github.uuranus:compose-shapes:latest-version")
}