animateListSqueeze method
- Horizontal Squeeze
Implementation
Widget animateListSqueeze(
{required int index,
int intervalMs = 50,
int durationMs = 600,
bool animate = true}) {
if (!animate) return this;
return this.animate(delay: _getDelay(index, intervalMs).ms).fadeIn().scaleX(
begin: 0, end: 1, curve: Curves.easeOutBack, duration: durationMs.ms);
}