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