resolveUnderlineColor method

VtRgbColor? resolveUnderlineColor(
  1. VtStyle style
)

Resolves this style's underline color using this render-state palette.

Falls back to the resolved foreground color when the underline color is unset.

Implementation

VtRgbColor? resolveUnderlineColor(VtStyle style) =>
    resolve(style.underlineColor, defaultColor: resolveForeground(style));