build method
Override this method to build widgets that depend on the state of the listenable (e.g., the current value of the animation).
Implementation
@override
Widget build(BuildContext context) {
Animation? animation = listenable as Animation?;
return new CustomPaint(
foregroundPainter: Circle(
xCoordinate: xCoor,
yCoordinate: yCoor,
color: pointColor,
pointSize: pointSize,
blinkRadius: animation!.value,
),
);
}