David PHAM-VAN

Fix bullet alignment

@@ -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)
@@ -250,13 +252,17 @@ class _Category extends pw.StatelessWidget { @@ -250,13 +252,17 @@ class _Category extends pw.StatelessWidget {
250 @override 252 @override
251 pw.Widget build(pw.Context context) { 253 pw.Widget build(pw.Context context) {
252 return pw.Container( 254 return pw.Container(
253 - decoration: const pw.BoxDecoration(  
254 - color: lightGreen,  
255 - borderRadius: pw.BorderRadius.all(pw.Radius.circular(6)),  
256 - ),  
257 - 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)); 255 + decoration: const pw.BoxDecoration(
  256 + color: lightGreen,
  257 + borderRadius: pw.BorderRadius.all(pw.Radius.circular(6)),
  258 + ),
  259 + margin: const pw.EdgeInsets.only(bottom: 10, top: 20),
  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