FakeCliTerminal.plain constructor

FakeCliTerminal.plain({
  1. List<String> lines = const [],
  2. int width = 80,
  3. int height = 24,
  4. FakeClock? fakeClock,
})

Somebody answers at a terminal that takes no ANSI (NO_COLOR, a dumb terminal): readLine answers lines in turn, then null. fakeClock is where the time of a progress comes from.

Implementation

FakeCliTerminal.plain({
  List<String> lines = const [],
  int width = 80,
  int height = 24,
  FakeClock? fakeClock,
}) : this(
       interactiveInput: true,
       outputIsTerminal: true,
       lines: lines,
       width: width,
       height: height,
       fakeClock: fakeClock,
     );