resolve method

ListStyle resolve(
  1. ColorScheme scheme
)

This style with every remaining default filled in.

Bullet size and colour depend on the surrounding text, so they stay null here and are computed per item unless set.

Implementation

ListStyle resolve(ColorScheme scheme) {
  return ListStyle(
    bulletSize: bulletSize,
    bulletColor: bulletColor,
    bulletShape: bulletShape ?? BoxShape.circle,
    markerTextStyle: markerTextStyle,
    indent: indent,
    gapAfterMarker: gapAfterMarker,
  );
}