@override void render(Canvas canvas) { if (gameRef.showCollisionArea) { canvas.drawRect( size.toRect(), _paint, ); } super.render(canvas); }