File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -493,11 +493,23 @@ class ListNodeWidget extends StatelessWidget {
493
493
case UnorderedListNode (): marker = "• " ; break ;
494
494
case OrderedListNode (: final start): marker = "${start + index }. " ; break ;
495
495
}
496
- return ListItemWidget (marker: marker, nodes: item);
496
+ return TableRow (children: [
497
+ Align (
498
+ alignment: AlignmentDirectional .topEnd,
499
+ child: Text (marker)),
500
+ BlockContentList (nodes: item),
501
+ ]);
497
502
});
498
503
return Padding (
499
504
padding: const EdgeInsets .only (top: 2 , bottom: 5 ),
500
- child: Column (children: items));
505
+ child: Table (
506
+ textBaseline: localizedTextBaseline (context),
507
+ defaultVerticalAlignment: TableCellVerticalAlignment .baseline,
508
+ columnWidths: const < int , TableColumnWidth > {
509
+ 0 : IntrinsicColumnWidth (),
510
+ 1 : FlexColumnWidth (),
511
+ },
512
+ children: items));
501
513
}
502
514
}
503
515
You can’t perform that action at this time.
0 commit comments