keyValue method

void keyValue(
  1. String key,
  2. String value, {
  3. String separator = '=',
})

Writes a key-value pair line with colored value: │ key = value

Implementation

void keyValue(String key, String value, {String separator = '='}) {
  gutterLine(
      '${theme.highlight}$key${theme.reset} ${theme.dim}$separator${theme.reset} ${theme.selection}$value${theme.reset}');
}