rememberGeneratePalette
fun ByteArray.rememberGeneratePalette(coroutineContext: CoroutineContext = kotlinx.coroutines.Dispatchers.Default, block: Palette.Builder.() -> Unit = {}): PaletteResult
Generate and remember a PaletteResult from a ByteArray.
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.