colorize function

String colorize(
  1. String message, {
  2. required Styles fg,
})

Implementation

String colorize(String message, {required Styles fg}) {
  return Colorize(message).apply(fg).toString();
}