animateWidgetBarGrow method

Widget animateWidgetBarGrow({
  1. int delayMs = 0,
  2. int durationMs = 800,
  3. bool repeat = false,
  4. bool animate = true,
})
  1. Bar Grow

Implementation

Widget animateWidgetBarGrow(
    {int delayMs = 0,
    int durationMs = 800,
    bool repeat = false,
    bool animate = true}) {
  if (!animate) return this;
  return _baseAnimate(delayMs: delayMs, repeat: repeat)
      .fadeIn(duration: 400.ms)
      .scaleY(
          begin: 0,
          end: 1,
          duration: durationMs.ms,
          curve: Curves.easeOutBack,
          alignment: Alignment.bottomCenter);
}