BackdropFilter.grouped constructor
- Key? key,
- required ImageFilter filter,
- Widget? child,
- BlendMode blendMode = BlendMode.srcOver,
- bool enabled = true,
Creates a backdrop filter that groups itself with the nearest parent BackdropGroup.
The blendMode
argument will default to BlendMode.srcOver and must not be
null if provided.
This constructor will automatically look up the nearest BackdropGroup and will share the backdrop input with sibling and child BackdropFilter widgets.
Implementation
const BackdropFilter.grouped({
super.key,
required this.filter,
super.child,
this.blendMode = BlendMode.srcOver,
this.enabled = true,
}) : backdropGroupKey = null,
_useSharedKey = true;