Enumeration of alignment strategies for the cross axis of list items.
- baseline → const MarkdownListItemCrossAxisAlignment
CrossAxisAlignment.baselinefor the row the bullet and the list item are placed in.
This alignment will ensure that the bullet always lines up with the list text on the baseline.
However, note that this alignment does not support intrinsic height measurements because
RenderFlexdoes not support it for
CrossAxisAlignment.baseline. See https://github.com/flutter/flutter_markdown/issues/311 for cases, where this might be a problem for you.
- start, which allows for intrinsic height measurements.
- start → const MarkdownListItemCrossAxisAlignment
CrossAxisAlignment.startfor the row the bullet and the list item are placed in.
This alignment will ensure that intrinsic height measurements work.
However, note that this alignment might not line up the bullet with the list text in the way you would expect in certain scenarios. See https://github.com/flutter/flutter_markdown/issues/169 for example cases that do not produce expected results.
- baseline, which will position the bullet and list item on the baseline.
→ const List<
A constant List of the values in this enum, in order of their declaration.