AnsiStyle.background constructor

AnsiStyle.background(
  1. AnsiColor color
)

Creates background style with color.

Implementation

factory AnsiStyle.background(AnsiColor color) {
  return AnsiStyle(AnsiSelection.background, color: color);
}