resolve method

BlockQuoteStyle resolve(
  1. ColorScheme scheme
)

This style with every remaining null filled in.

The defaults are the values the package used before blockquotes were configurable, so an app that sets nothing sees no change.

Implementation

BlockQuoteStyle resolve(ColorScheme scheme) {
  return BlockQuoteStyle(
    barWidth: barWidth ?? 3,
    barColor: barColor ?? scheme.onSurfaceVariant,
    barRadius: barRadius,
    backgroundColor: backgroundColor,
    padding: padding ?? const EdgeInsetsDirectional.only(start: 8),
    margin: margin ?? const EdgeInsets.symmetric(vertical: 2),
    textStyle: textStyle,
  );
}