line method

void line(
  1. String text, [
  2. LiveTone tone = LiveTone.plain
])

Writes text as a single line styled with tone.

Implementation

void line(String text, [LiveTone tone = LiveTone.plain]) =>
    _sink.writeln(_style(tone, text));