Framework uses of BackdropFilter should consider using BlendMode.src #81322
Labels
f: cupertino
flutter/packages/flutter/cupertino repository
f: material design
flutter/packages/flutter/material repository.
framework
flutter/packages/flutter repository. See also f: labels.
P2
Important issues not at the top of the work list
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
After landing both flutter/engine#19631 and #80129 it is now possible for the BackdropFilter to specify the blend mode with which to apply its filtered version of the background onto the existing background.
The default value was kept at BlendMode.srcOver for backwards compatibility, but most cases should be able to use BlendMode.src without any complications. If any internal uses of BackdropFilter might be nested inside an Opacity widget by the developer, then they should specify the BlendMode.src mode so as not to cause surprising results when, for example, the widget ends up inside a fade-transitioning dialog.
Some discussion of where this can impact developers using the Cupertino widgets can be found in #31706
The text was updated successfully, but these errors were encountered: