LayerLink class Null safety
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
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- leader → LeaderLayer?
-
The LeaderLayer connected to this link.
read-only
- leaderSize ↔ Size?
-
The total size of the content of the connected LeaderLayer. [...]
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited