custom static method

void custom(
  1. String message, {
  2. LogColor logColor = LogColor.white,
})

Implementation

static void custom(String message, {LogColor logColor = LogColor.white}) {
  final color = _getColourCodes(color: logColor);
  //SET THE COLOR TO CUSTOM
  stdout.write('$color$message\x1B[0m');
}