Showing
3 changed files
with
5 additions
and
0 deletions
@@ -323,6 +323,7 @@ class Align extends SingleChildWidget { | @@ -323,6 +323,7 @@ class Align extends SingleChildWidget { | ||
323 | void debugPaint(Context context) { | 323 | void debugPaint(Context context) { |
324 | context.canvas | 324 | context.canvas |
325 | ..setStrokeColor(PdfColors.green) | 325 | ..setStrokeColor(PdfColors.green) |
326 | + ..setLineWidth(1) | ||
326 | ..drawRect(box.x, box.y, box.width, box.height); | 327 | ..drawRect(box.x, box.y, box.width, box.height); |
327 | 328 | ||
328 | if (child == null) { | 329 | if (child == null) { |
@@ -23,6 +23,7 @@ class ClipRect extends SingleChildWidget { | @@ -23,6 +23,7 @@ class ClipRect extends SingleChildWidget { | ||
23 | void debugPaint(Context context) { | 23 | void debugPaint(Context context) { |
24 | context.canvas | 24 | context.canvas |
25 | ..setStrokeColor(PdfColors.deepPurple) | 25 | ..setStrokeColor(PdfColors.deepPurple) |
26 | + ..setLineWidth(1) | ||
26 | ..drawRect(box.x, box.y, box.width, box.height) | 27 | ..drawRect(box.x, box.y, box.width, box.height) |
27 | ..strokePath(); | 28 | ..strokePath(); |
28 | } | 29 | } |
@@ -61,6 +62,7 @@ class ClipRRect extends SingleChildWidget { | @@ -61,6 +62,7 @@ class ClipRRect extends SingleChildWidget { | ||
61 | void debugPaint(Context context) { | 62 | void debugPaint(Context context) { |
62 | context.canvas | 63 | context.canvas |
63 | ..setStrokeColor(PdfColors.deepPurple) | 64 | ..setStrokeColor(PdfColors.deepPurple) |
65 | + ..setLineWidth(1) | ||
64 | ..drawRRect( | 66 | ..drawRRect( |
65 | box.x, box.y, box.width, box.height, horizontalRadius, verticalRadius) | 67 | box.x, box.y, box.width, box.height, horizontalRadius, verticalRadius) |
66 | ..strokePath(); | 68 | ..strokePath(); |
@@ -95,6 +97,7 @@ class ClipOval extends SingleChildWidget { | @@ -95,6 +97,7 @@ class ClipOval extends SingleChildWidget { | ||
95 | 97 | ||
96 | context.canvas | 98 | context.canvas |
97 | ..setStrokeColor(PdfColors.deepPurple) | 99 | ..setStrokeColor(PdfColors.deepPurple) |
100 | + ..setLineWidth(1) | ||
98 | ..drawEllipse(box.x + rx, box.y + ry, rx, ry) | 101 | ..drawEllipse(box.x + rx, box.y + ry, rx, ry) |
99 | ..strokePath(); | 102 | ..strokePath(); |
100 | } | 103 | } |
@@ -106,6 +106,7 @@ abstract class Widget { | @@ -106,6 +106,7 @@ abstract class Widget { | ||
106 | void debugPaint(Context context) { | 106 | void debugPaint(Context context) { |
107 | context.canvas | 107 | context.canvas |
108 | ..setStrokeColor(PdfColors.purple) | 108 | ..setStrokeColor(PdfColors.purple) |
109 | + ..setLineWidth(1) | ||
109 | ..drawRect(box.x, box.y, box.width, box.height) | 110 | ..drawRect(box.x, box.y, box.width, box.height) |
110 | ..strokePath(); | 111 | ..strokePath(); |
111 | } | 112 | } |
-
Please register or login to post a comment