haze Effect
fun Modifier.hazeEffect(state: HazeState, style: HazeStyle = HazeStyle.Unspecified, block: HazeEffectScope.() -> Unit? = null): Modifier
Mark this composable as being a Haze child composable.
This will update the given HazeState whenever the layout is placed, enabling any layouts using Modifier.hazeSource to blur any content behind the host composable.
Parameters
style
The HazeStyle to use on this content. Any specified values in the given style will override that value from the default style, provided to hazeSource.
block
block on HazeChildScope where you define the styling and visual properties.