CircleAnimation constructor

CircleAnimation({
  1. Key? key,
  2. required Animation<double> animationController,
  3. required Color animateColor,
  4. required double screenHeight,
  5. required double screenWidth,
})

Implementation

CircleAnimation(
    {Key? key,
    required this.animationController,
    required this.animateColor,
    required this.screenHeight,
    required this.screenWidth})
    : scaleAnimation = Tween<double>(
        begin: 0,
        end: 2.2,
      ).animate(
        CurvedAnimation(
          parent: animationController,
          curve: const Interval(
            0.0,
            1.0,
            curve: Curves.ease,
          ),
        ),
      ),
      super(key: key);