underlineRgb function

String underlineRgb(
  1. int r,
  2. int g,
  3. int b
)

Set color to underline by RGB.

See also underlineRgbOpen.

Implementation

String underlineRgb(int r, int g, int b) {
  assert(r >= 0 && r <= 255, _colorComponentAssert);
  assert(g >= 0 && g <= 255, _colorComponentAssert);
  assert(b >= 0 && b <= 255, _colorComponentAssert);
  return '$underlineRgbOpen$r;$g;$b$underlineRgbClose';
}