driveSnapshotRevert method
Interactive counterpart of restoreSnapshotAnimated's fade: the draw screen maps swipe-back progress here so strokes drawn this session fade with the finger (t = 1 fully visible, 0 gone). An aborted swipe drives t back to 1 — full opacity, nothing to release. Committed strokes from before the snapshot are unaffected.
Implementation
void driveSnapshotRevert(double t) {
if (_snapshot == null) return;
_fadeAnimator.cancel();
final v = t.clamp(0.0, 1.0).toDouble();
if (_fadeNewStrokes == v) return;
_fadeNewStrokes = v;
notifyListeners();
}