-
Notifications
You must be signed in to change notification settings - Fork 28.5k
UIKitView should support mutations: backdrop_filter #43902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@sooxiaotong Please provide your flutter doctor -v output and specify which version of google_maps_flutter you use. Also can you provide a small code example that reproduces this behaviour? |
Same issue here, I have latest Flutter/plugins. I've seen it for more than 2 months, only affects iOS |
Hi @gabrielginter |
As I understand it, this is an iOS limitation. @amirh can you confirm this is expected? |
I believe this specific effect can be achieved by working a UIVisualEffectView into the hierarchy, it's non trivial amount of effort to do though. |
Any news on this one ? |
Having the same issue here while trying to accomplish a frosted glass effect on top of the map for some UI Elements. Is there any simple solution only with flutter? |
I have tested this issue on Android and iOS and it was only not working on iOS so I assume it is related to iOS only. Any idea where to start digging? |
Issue is reproducible Code Sample
flutter doctor -v
|
Any update on this? I have the same issue on Agora Rtc View, I cant use blur filter on ios (Android works well). |
I am also still having this issue. Are there any plans on getting this fixed soon or is there a workaround we could use? Thanks! |
Seems to also be present in 2.10.0. |
Still present, cannot blur Google Maps Widget with BackdropFilter + ImageFilter.blur on iOS. On Android is fine |
I am not involved with Flutter at all, but I have been working with the Embedder API and have hacked around the engine a bit, so I think I can give some context here. Normal Widgets are rendered and composited using Skia, so all the effects Skia provides can be used without issues. An example of this is the blur effect. Flutter handles platform views differently from normal Widgets. Flutter renders its UI consisting of normal widgets onto several layered textures, split apart at the layers where the platform views are located. These different stacked layers are then returned the the embedder where the embedder is responsible for actually compositing them together with the platform views interspersed. This is why blur doesn't work on something like a WebView, what you are actually seeing on the screen is a "sandwich" of something like:
Thus, Flutter doesn't actually render the platform view, and can't apply affects like blur directly by itself. This is a tricky problem to solve in the general case, I can think of a few approaches the flutter team could take:
|
Any update on this issue now? I guess this may be tricky to fix, but it really affects lots of developers. |
You're bringing me to an idea 🤔 How about accessing native Blur-Effect? Like: extending PlatformViews to pass a parameter from Flutter, when Flutter wants a specific area to get blurred? On my opinion it should not be that hard...I'll try to dig into this... |
It would be a nice workaround but wouldn't you end up with an hard edge between flutters blur and the native blur? As they both don't consider (probably) what outside their respective area? |
+1 |
Proposal have been published: Flutter iOS PlatformView BackdropFilter |
Fixed with flutter/engine#34596 and flutter/engine#37086 |
Problem fixed on flutter channel master |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
The google map won't get blur and appears black when applying backdrop filter on top.

The text was updated successfully, but these errors were encountered: