Installation
Gradle Setup
Section titled “Gradle Setup”Add the ChromaDial dependency to your build.gradle.kts:
dependencies { implementation("com.sinasamaki:chromadial:<version>")}Multiplatform Configuration
Section titled “Multiplatform Configuration”For Kotlin Multiplatform projects, add the dependency to your common source set:
kotlin { sourceSets { commonMain.dependencies { implementation("com.sinasamaki:chromadial:<version>") } }}Import
Section titled “Import”Once installed, import the Dial component:
import com.sinasamaki.chroma.dial.Dialimport com.sinasamaki.chroma.dial.DialStateimport com.sinasamaki.chroma.dial.RadiusModeNext Steps
Section titled “Next Steps”Now that you have ChromaDial installed, learn how to use it:
- Dial Basics - Understand the Dial component parameters
- Customization - Create custom thumb and track designs