animateWidgetGhostFloat method

Widget animateWidgetGhostFloat({
  1. int durationMs = 3000,
  2. bool repeat = true,
  3. bool animate = true,
})
  1. Ghost Float (Slow)

Implementation

Widget animateWidgetGhostFloat({
  int durationMs = 3000,
  bool repeat = true,
  bool animate = true,
}) {
  if (!animate) return this;
  return _baseAnimate(repeat: repeat, reverse: true)
      .moveY(
        begin: 0,
        end: -15,
        duration: durationMs.ms,
        curve: Curves.easeInOutQuad,
      )
      .blurXY(begin: 0, end: 2, duration: durationMs.ms);
}