getDefaultMarker function
get default marker for list
Implementation
Widget getDefaultMarker(bool isOrdered, int depth, Color? color, int index,
double paddingTop, MarkdownConfig config) {
Widget marker;
if (isOrdered) {
marker = Container(
alignment: Alignment.topRight,
padding: EdgeInsets.only(right: 1),
child: _OlMarker(
depth: depth, index: index, color: color, config: config.p));
} else {
marker = Padding(
padding: EdgeInsets.only(top: paddingTop - 3),
child: _UlMarker(depth: depth, color: color));
}
return marker;
}