I want the foster blur background like IOS i tried different approaches too get like that in the android but I am not able to get that it only diming the background to grey like in the image, help me out of this
You can use the native Modifier.blur, but it blurs the content itself. That means before showing your menu, let’s say it’s a dialog window, you’d need to apply the blur modifier to the underlying content. Visually, this creates the appearance of a blurred background, while the new dialog window appears above.
Sergey Y.
08/31/2025, 6:23 PM
But I strongly recommend using Haze. It handles this task quite well and includes various workarounds for corner cases with Blur. It’s similar to how you’d prefer using an image-loading library rather than writing one yourself.