animateDropSettleGlide method
void
animateDropSettleGlide(})
Internal-use-only: installs a drop-settle glide (the drag proxy's cancel return / dead-commit-slide fallback).
Identical to animateSlideFromOffsets except the slide-engine
kill switch is computed from the DROP-SETTLE family
(TreeAnimationStyle.effectiveDropSettle) instead of
reorderSlide, so the glide honors its own family's zero rule.
duration/curve are the drag session's CAPTURED spec: values are
captured per session, while the kill switch reads the live style
(the same split the make-room family uses).
Implementation
void animateDropSettleGlide(
Map<TKey, ({double y, double x})> priorOffsets,
Map<TKey, ({double y, double x})> currentOffsets, {
required Duration duration,
required Curve curve,
}) {
_slide.animateFromOffsets(
priorOffsets,
currentOffsets,
duration: duration,
curve: curve,
structuralAnimationsDisabled:
_animationStyle.effectiveDropSettle.duration == Duration.zero,
);
}