File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 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 {
493493 case UnorderedListNode (): marker = "• " ; break ;
494494 case OrderedListNode (: final start): marker = "${start + index }. " ; break ;
495495 }
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+ ]);
497502 });
498503 return Padding (
499504 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));
501513 }
502514}
503515
You can’t perform that action at this time.
0 commit comments