Package-level declarations
Functions
Link copied to clipboard
fun rememberFileDominantColorState(defaultColor: Color, defaultOnColor: Color, cacheSize: Int = DEFAULT_CACHE_SIZE, coroutineContext: CoroutineContext = Dispatchers.Default, isSwatchValid: (Palette.Swatch) -> Boolean = { true }, builder: Palette.Builder.() -> Unit = {}): DominantColorState<File>
Wrapper around rememberDominantColorState that uses FileLoader to load the image.
Link copied to clipboard
fun rememberFilePaletteState(cacheSize: Int = DEFAULT_CACHE_SIZE, coroutineContext: CoroutineContext = Dispatchers.Default, builder: Palette.Builder.() -> Unit = {}): PaletteState<File>
Wrapper around rememberPaletteState that uses FileLoader to load the image.