Ball constructor

const Ball({
  1. Key? key,
  2. BallStyle? style,
})

Implementation

const Ball({
  Key? key,
  this.style,
}) : super(key: key);