BackdropKey class final
A backdrop key uniquely identifies the backdrop that a BackdropFilterLayer samples from.
When multiple backdrop filters share the same key, the Flutter engine can more efficiently perform the backdrop operations.
Instead of using a backdrop key directly, consider using a BackdropGroup
and the BackdropFilter.grouped constructor. The framework will
automatically group child backdrop filters that use the .grouped
constructor when they are placed as children of a BackdropGroup.
For more information, see BackdropFilter.
- Annotations
Constructors
- BackdropKey()
- Create a new BackdropKey.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited