scroll_scene 0.1.1
scroll_scene: ^0.1.1 copied to clipboard
GSAP ScrollTrigger for Flutter: pin sections, scrub timelines by scroll progress, keyframes, stagger, snap points and debug markers. Pure Flutter.
0.1.1 #
- The example is now a single self-contained
example/lib/main.dart: paste it into a new app and run, or copy any scene into your ownCustomScrollView. - README demos are animated WebP at 30 fps instead of 20 fps GIFs, about half the size, so they load faster and play smoothly.
0.1.0 #
Initial release.
SliverScrollSceneforCustomScrollViewandScrollScenedrop-in forListView/Columninside any scrollable.- Pinning: a section stays fixed for
pinExtentpixels of scroll whileprogressruns 0 → 1. - Trigger positions for unpinned scenes (
ScenePosition.top(0.8)etc.). progressexposed asAnimation<double>;SceneTimelinekeyframes andStaggerasAnimatables.- Scrub smoothing (
lerp/spring), honoursdisableAnimations. - Snap points.
- Debug markers overlay.
onEnter,onLeave,onEnterBack,onLeaveBack,onProgresscallbacks.