Showing
1 changed file
with
10 additions
and
4 deletions
@@ -216,9 +216,11 @@ class _Block extends pw.StatelessWidget { | @@ -216,9 +216,11 @@ class _Block extends pw.StatelessWidget { | ||
216 | pw.Container( | 216 | pw.Container( |
217 | width: 6, | 217 | width: 6, |
218 | height: 6, | 218 | height: 6, |
219 | - margin: const pw.EdgeInsets.only(top: 2.5, left: 2, right: 5), | 219 | + margin: const pw.EdgeInsets.only(top: 5.5, left: 2, right: 5), |
220 | decoration: const pw.BoxDecoration( | 220 | decoration: const pw.BoxDecoration( |
221 | - color: green, shape: pw.BoxShape.circle), | 221 | + color: green, |
222 | + shape: pw.BoxShape.circle, | ||
223 | + ), | ||
222 | ), | 224 | ), |
223 | pw.Text(title, | 225 | pw.Text(title, |
224 | style: pw.Theme.of(context) | 226 | style: pw.Theme.of(context) |
@@ -255,8 +257,12 @@ class _Category extends pw.StatelessWidget { | @@ -255,8 +257,12 @@ class _Category extends pw.StatelessWidget { | ||
255 | borderRadius: pw.BorderRadius.all(pw.Radius.circular(6)), | 257 | borderRadius: pw.BorderRadius.all(pw.Radius.circular(6)), |
256 | ), | 258 | ), |
257 | margin: const pw.EdgeInsets.only(bottom: 10, top: 20), | 259 | margin: const pw.EdgeInsets.only(bottom: 10, top: 20), |
258 | - padding: const pw.EdgeInsets.fromLTRB(10, 7, 10, 4), | ||
259 | - child: pw.Text(title, textScaleFactor: 1.5)); | 260 | + padding: const pw.EdgeInsets.fromLTRB(10, 4, 10, 4), |
261 | + child: pw.Text( | ||
262 | + title, | ||
263 | + textScaleFactor: 1.5, | ||
264 | + ), | ||
265 | + ); | ||
260 | } | 266 | } |
261 | } | 267 | } |
262 | 268 |
-
Please register or login to post a comment