printColor function

void printColor(
  1. String text, [
  2. Iterable<TerminalColor> colors = const []
])

Implementation

void printColor(String text, [Iterable<TerminalColor> colors = const []]) {
  print(colorize(text, colors));
}