disableWallpaperTinting property

bool disableWallpaperTinting
final

Whether wallpaper tinting should be disabled.

By default, macos_ui applies wallpaper tinting to the application's window to match macOS' native appearance:

However, this effect is realized by inserting NSVisualEffectViews behind Flutter's canvas and turning the background of areas that are meant to be affected by wallpaper tinting transparent. Since Flutter's ImageFilter.blur does not support transparency, wallpaper tinting is disabled automatically when a MacosOverlayFilter is present in the widget tree.

This is meant to be a temporary solution until #16296 is resolved in the Flutter project.

Since the disabling of wallpaper tinting may be found to be too noticeable, this property may be used to disable wallpaper tinting outright.

Implementation

final bool disableWallpaperTinting;