ElasticEffect constructor
const
ElasticEffect({})
Creates a stretch animation with elastic easing.
duration — animation cycle duration per character.
curve — easing curve (elasticOut for overshoot).
stretch — horizontal stretch factor (0–1 range, applied as ± stretch).
bounceCount — oscillation cycles per animation.
delayBetweenChars — stagger delay between characters.
Implementation
const ElasticEffect({
super.duration = const Duration(milliseconds: 800),
super.curve = Curves.elasticOut,
this.stretch = 0.3,
this.bounceCount = 1,
super.delayBetweenChars = const Duration(milliseconds: 60),
});