bg property

  1. @override
String get bg
override

Returns the ANSI escape sequence for the background color.

If the color is dimmed, returns a compound escape sequence that includes both the dim code (2) and the color code.

Implementation

@override
String get bg => _dim ? '2;$bgCode' : '$bgCode';