outerCircle method

Widget outerCircle(
  1. DateInfo date,
  2. double width,
  3. int index
)

Implementation

Widget outerCircle(DateInfo date, double width, int index) {
  return Align(
    alignment: Alignment.center,
    child: ScaleTransition(
      scale: (date.singleScaleAnimation != null)
          ? date.singleScaleAnimation!
          : nullAnimation,
      child: Container(
        width: width / 10,
        height: width / 10,
        decoration: BoxDecoration(
          color: widget.selectedBetweenAreaColor,
          boxShadow: [
            BoxShadow(
              color: widget.selectedBetweenAreaColor,
              spreadRadius: width * 0.0025,
            )
          ],
          shape: BoxShape.circle,
        ),
      ),
    ),
  );
}