Skip to content

Commit 936de77

Browse files
authored
Merge pull request Sub6Resources#392 from momt99/patch-1
Add text direction support to list items
2 parents 85f6446 + 3f3b782 commit 936de77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/html_parser.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,12 @@ class HtmlParser extends StatelessWidget {
272272
width: 30, //TODO derive this from list padding.
273273
start: 0,
274274
child: Text('${newContext.style.markerContent}\t',
275-
textAlign: TextAlign.right,
275+
textAlign: TextAlign.end,
276276
style: newContext.style.generateTextStyle()),
277277
),
278278
Padding(
279-
padding: EdgeInsets.only(
280-
left: 30), //TODO derive this from list padding.
279+
padding: EdgeInsetsDirectional.only(
280+
start: 30), //TODO derive this from list padding.
281281
child: StyledText(
282282
textSpan: TextSpan(
283283
children: tree.children

0 commit comments

Comments
 (0)