Skip to content

Instantly share code, notes, and snippets.

@fredgrott
Created July 19, 2024 16:08
Show Gist options
  • Save fredgrott/cfa5ed7bd9a1460e9bc74fdd4955316e to your computer and use it in GitHub Desktop.
Save fredgrott/cfa5ed7bd9a1460e9bc74fdd4955316e to your computer and use it in GitHub Desktop.
live options
final options = LiveOptions(
// Start animation after (default zero)
delay: Duration(seconds: 1),
// Show each item through (default 250)
showItemInterval: Duration(milliseconds: 500),
// Animation duration (default 250)
showItemDuration: Duration(seconds: 1),
// Animations starts at 0.05 visible
// item fraction in sight (default 0.025)
visibleFraction: 0.05,
// Repeat the animation of the appearance
// when scrolling in the opposite direction (default false)
// To get the effect as in a showcase for ListView, set true
reAnimateOnVisibility: false,
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment