Skip to main content

scroll_scene 0.1.1 copy "scroll_scene: ^0.1.1" to clipboard
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 own CustomScrollView.
  • 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.

  • SliverScrollScene for CustomScrollView and ScrollScene drop-in for ListView / Column inside any scrollable.
  • Pinning: a section stays fixed for pinExtent pixels of scroll while progress runs 0 → 1.
  • Trigger positions for unpinned scenes (ScenePosition.top(0.8) etc.).
  • progress exposed as Animation<double>; SceneTimeline keyframes and Stagger as Animatables.
  • Scrub smoothing (lerp / spring), honours disableAnimations.
  • Snap points.
  • Debug markers overlay.
  • onEnter, onLeave, onEnterBack, onLeaveBack, onProgress callbacks.
2
likes
160
points
74
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

GSAP ScrollTrigger for Flutter: pin sections, scrub timelines by scroll progress, keyframes, stagger, snap points and debug markers. Pure Flutter.

Repository (GitHub)
View/report issues

Topics

#scroll #animation #scrolltrigger #parallax #sliver

License

MIT (license)

Dependencies

flutter

More

Packages that depend on scroll_scene