Created
July 19, 2024 16:08
-
-
Save fredgrott/cfa5ed7bd9a1460e9bc74fdd4955316e to your computer and use it in GitHub Desktop.
live options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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