animateWidgetStamp method
Widget
animateWidgetStamp(
{ - int delayMs = 0,
- int durationMs = 500,
- bool repeat = false,
- bool animate = true,
})
Implementation
Widget animateWidgetStamp(
{int delayMs = 0,
int durationMs = 500,
bool repeat = false,
bool animate = true}) {
if (!animate) return this;
return _baseAnimate(delayMs: delayMs, repeat: repeat)
.fadeIn(duration: 200.ms)
.scale(
begin: const Offset(2.0, 2.0),
end: const Offset(1, 1),
curve: Curves.easeInCirc,
duration: durationMs.ms)
.then()
.shake(hz: 2, duration: 200.ms);
}