repeatInfinity property
Whether the animation should repeat indefinitely.
When true, the lightning effect will continuously repeat with pauses in between defined by pauseRepeatInfinityDelay. Default is false.
Implementation
final bool repeatInfinity;