Skip to main content

Camouflage

One set of components. Your skin, your theme. Kotlin and Flutter.

One screen, five skins

The same code, rendered by each skin. Change two arguments and the whole app changes.

Install, provide, build

Add the core and a skin, wrap the app once, and use components.

build.gradle.kts
implementation(platform("com.srctool.camouflage:camouflage-bom:0.2.0"))
implementation("com.srctool.camouflage:camouflage-core")
implementation("com.srctool.camouflage:camouflage-skin-material")
App.kt
CamouflageProvider(skin = MaterialSkin, theme = materialTheme(seed = brand)) {
CamoButton("Sign up", onClick = { signUp() })
}