LayerLink class
An object that a LeaderLayer can register with.
An instance of this class should be provided as the LeaderLayer.link and the FollowerLayer.link properties to cause the FollowerLayer to follow the LeaderLayer.
See also:
- CompositedTransformTarget, the widget that creates a LeaderLayer.
- CompositedTransformFollower, the widget that creates a FollowerLayer.
- RenderLeaderLayer and RenderFollowerLayer, the corresponding render objects.
Constructors
Properties
- leader → LeaderLayer
-
The currently-registered LeaderLayer, if any.
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited