Skip to content

Window's material property using MacosApp #521

Discussion options

You must be logged in to vote

Currently, NSVisualEffectViewMaterial.windowBackground is hard-coded into macos_ui’s WallpaperTintedArea widget, which is used by the MacosScaffold widget, which indeed makes it impossible to apply different materials. However, adding configuration options that would allow the user to use different materials wouldn’t help much, as using a translucent background would break all widgets that rely on Flutter’s BackdropFilter class due to a Flutter issue that we cannot fix, see flutter/flutter#16296. Due to this issue, translucent widgets that apply a blur filter to their backgrounds would look somewhat like this:

The reason for this is that the alpha channel doesn’t get blurred by Flutter’s…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@oleksiiparf
Comment options

@Adrian-Samoticha
Comment options

Answer selected by oleksiiparf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants