@@ -227,7 +227,7 @@ class HtmlParser {
227
227
);
228
228
case "blockquote" :
229
229
return Padding (
230
- padding: EdgeInsets .fromLTRB (40.0 , BLOCK_SPACING , 40.0 , BLOCK_SPACING ),
230
+ padding: EdgeInsets .fromLTRB (40.0 , blockSpacing , 40.0 , blockSpacing ),
231
231
child: Container (
232
232
width: width,
233
233
child: Wrap (
@@ -246,7 +246,7 @@ class HtmlParser {
246
246
);
247
247
case "br" :
248
248
if (_isNotFirstBreakTag (node)) {
249
- return Container (width: width, height: BLOCK_SPACING );
249
+ return Container (width: width, height: blockSpacing );
250
250
}
251
251
return Container (width: width);
252
252
case "caption" :
@@ -326,7 +326,7 @@ class HtmlParser {
326
326
);
327
327
case "dl" :
328
328
return Padding (
329
- padding: EdgeInsets .only (top: BLOCK_SPACING , bottom: BLOCK_SPACING ),
329
+ padding: EdgeInsets .only (top: blockSpacing , bottom: blockSpacing ),
330
330
child: Column (
331
331
children: _parseNodeList (node.nodes),
332
332
crossAxisAlignment: CrossAxisAlignment .start,
@@ -350,7 +350,7 @@ class HtmlParser {
350
350
);
351
351
case "figure" :
352
352
return Padding (
353
- padding: EdgeInsets .fromLTRB (40.0 , BLOCK_SPACING , 40.0 , BLOCK_SPACING ),
353
+ padding: EdgeInsets .fromLTRB (40.0 , blockSpacing , 40.0 , blockSpacing ),
354
354
child: Column (
355
355
children: _parseNodeList (node.nodes),
356
356
crossAxisAlignment: CrossAxisAlignment .center,
@@ -575,7 +575,7 @@ class HtmlParser {
575
575
);
576
576
case "p" :
577
577
return Padding (
578
- padding: EdgeInsets .only (top: BLOCK_SPACING , bottom: BLOCK_SPACING ),
578
+ padding: EdgeInsets .only (top: blockSpacing , bottom: blockSpacing ),
579
579
child: Container (
580
580
width: width,
581
581
child: Wrap (
@@ -587,7 +587,7 @@ class HtmlParser {
587
587
);
588
588
case "pre" :
589
589
return Padding (
590
- padding: const EdgeInsets .all (BLOCK_SPACING ),
590
+ padding: EdgeInsets .all (blockSpacing ),
591
591
child: DefaultTextStyle .merge (
592
592
child: Text (node.innerHtml),
593
593
style: const TextStyle (
0 commit comments