build method

Widget build(
  1. BuildContext context
)

Implementation

Widget build(BuildContext context) {
  return Stack(
    children: [
      for (int i = 0; i < _colors.length; i++)
        Positioned.fill(
          child: TweenAnimationBuilder(
            tween: Tween<double>(begin: 0, end: 1),
            duration: const Duration(milliseconds: 500),
            curve: Curves.easeIn,
            builder: (_, double opacity, __) {
              return CustomPaint(
                painter: _CircleWavePainter(
                  _controller,
                  _addPointAnimation,
                  i,
                  _colors[i].withOpacity(opacity),
                  _counter,
                  _blend,
                ),
              );
            },
          ),
        ),
    ],
  );
}