Package-level declarations

Functions

Link copied to clipboard
fun rememberBase64DominantColorState(defaultColor: Color, defaultOnColor: Color, cacheSize: Int = DominantColorState.DEFAULT_CACHE_SIZE, coroutineContext: CoroutineContext = Dispatchers.Default, isSwatchValid: (Palette.Swatch) -> Boolean = { true }, builder: Palette.Builder.() -> Unit = {}): DominantColorState<String>

Wrapper around rememberDominantColorState that uses Base64Loader to load the image.

Link copied to clipboard
fun rememberBase64PaletteState(cacheSize: Int = PaletteState.DEFAULT_CACHE_SIZE, coroutineContext: CoroutineContext = Dispatchers.Default, builder: Palette.Builder.() -> Unit = {}): PaletteState<String>

Wrapper around rememberPaletteState that uses Base64Loader to load the image.