createColorFilterAnimation method

Animation<Color> createColorFilterAnimation()

Implementation

Animation<Color> createColorFilterAnimation() {
  return ColorTween(begin: Color(0x00000000), end: snack.overlayColor)
      .animate(
    CurvedAnimation(
      parent: _controller,
      curve: Interval(
        0.0,
        0.35,
        curve: Curves.easeInOutCirc,
      ),
    ),
  );
}