drawDebugRect method

void drawDebugRect(
  1. Canvas canvas,
  2. Rect rect,
  3. Color color
)

Implementation

void drawDebugRect(Canvas canvas, Rect rect, Color color) {
  canvas.drawRect(rect, Paint()
    ..style = PaintingStyle.fill
    ..color = color);
}