animateWidgetBreathe method
- Breathe (Scale Cycle)
Implementation
Widget animateWidgetBreathe(
{int durationMs = 1500, bool repeat = true, bool animate = true}) {
if (!animate) return this;
return _baseAnimate(repeat: repeat, reverse: true).scaleXY(
begin: 1.0,
end: 1.03,
duration: durationMs.ms,
curve: Curves.easeInOutSine);
}