createBlurFilterAnimation method

Animation<double>? createBlurFilterAnimation()

Implementation

Animation<double>? createBlurFilterAnimation() {
  if (flushbar.routeBlur == null) return null;

  return Tween(begin: 0.0, end: flushbar.routeBlur).animate(
    CurvedAnimation(
      parent: _controller!,
      curve: const Interval(
        0.0,
        0.35,
        curve: Curves.easeInOutCirc,
      ),
    ),
  );
}