rememberGeneratePalette
fun Image.rememberGeneratePalette(coroutineContext: CoroutineContext = Dispatchers.Default, block: Palette.Builder.() -> Unit = {}): PaletteResult
Generate and remember a PaletteResult from a Image.
Return
A PaletteResult that will be remembered across compositions.
Parameters
coroutineContext
The CoroutineContext to use for generating the PaletteResult.
block
A block to configure the Palette.Builder.