style
fun style(backgroundColor: Color, tint: HazeColorEffect = tint(backgroundColor), blurRadius: Dp = this.blurRadius, noiseFactor: Float = this.noiseFactor): HazeBlurStyle
Default dev.chrisbanes.haze.blur.HazeBlurStyle for usage with BlurVisualEffect.
Parameters
backgroundColor
Color to draw behind the blurred content. Ideally should be opaque so that the original content is not visible behind. Typically this would be MaterialTheme.colorScheme.surface or similar.
tint
Default color to tint the blurred content. Should be translucent, otherwise you will not see the blurred content.
blurRadius
Radius of the blur.
noiseFactor
Amount of noise applied to the content, in the range 0f to 1f. Anything outside of that range will be clamped.