calculateContentHash

fun calculateContentHash(iconRenderProperties: IconRenderProperties, content: () -> Unit): Long

Calculates a hash value for the rendered composable content. This can be used to detect changes in the composable content without requiring an explicit key.

Return

A hash value representing the current state of the composable content

Parameters

iconRenderProperties

Properties for rendering the icon

content

The Composable content to render