PokeBallPainter constructor Null safety

PokeBallPainter(
  1. {required Color color,
  2. double? opacity}
)

Implementation

PokeBallPainter({required this.color, this.opacity});