SlideComposer<TKey, TData> class
Methods
-
baseFor(TKey key, ViewportSnapshot viewport)
→ double?
-
Returns the live scroll-space base Y for
key if it is currently
an edge ghost, null otherwise. Caller composes the result with
the row's slide delta separately (the resolver is unaware of
per-frame slide progress).
override
-
consumeBaseline()
→ ({Curve curve, Duration duration, Map<TKey, ({double x, double y})> offsets, ViewportSnapshot viewport})?
-
-
entryFor(TKey key)
→ ({Curve curve, Duration duration, ViewportEdge edge})?
-
Returns the edge entry for
key if it is currently a ghost. Used
by paint/hit-test sites that need both the side AND timing info
(the resolver-only baseFor discards the side after resolving).
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
rebindController(TreeController<TKey, TData> controller)
→ void
-
Re-binds the registry to a new controller on
RenderSliverTree's
controller setter. Caller separately calls reset to drop any
state staged against the old controller's keys.
-
reset()
→ void
-
Discards any staged baseline and clears the ghost registry. Used
on controller swap so state staged against the old controller
doesn't leak into the new one.
-
stageBaseline({required Map<TKey, ({double x, double y})> offsets, required ViewportSnapshot viewport, required Duration duration, required Curve curve})
→ bool
-
-
toString()
→ String
-
A string representation of this object.
inherited