ColorBall constructor

const ColorBall({
  1. Key? key,
  2. required Color ballColor,
  3. required Animation<Offset> animation,
  4. double? ballSize,
})

Implementation

const ColorBall({
  Key? key,
  required this.ballColor,
  required this.animation,
  this.ballSize,
}) : super(key: key);