setupVision method

void setupVision({
  1. Color? color,
  2. bool drawVision = false,
})

Implementation

void setupVision({Color? color, bool drawVision = false}) {
  _drawVision = drawVision;
  _paint.color = color ?? Colors.red.withOpacity(0.5);
}