TuiTester constructor
TuiTester(
- Model model, {
- int width = 80,
- int height = 24,
- ColorProfile profile = ColorProfile.noColor,
- bool darkBackground = true,
- Map<
String, String> environment = const {}, - List<
ProgramOption> options = const [],
Runs model in a new Program.
Implementation
TuiTester(
Model model, {
int width = 80,
int height = 24,
ColorProfile profile = ColorProfile.noColor,
bool darkBackground = true,
Map<String, String> environment = const {},
List<ProgramOption> options = const [],
}) : this.run(
() => Program().run(model),
width: width,
height: height,
profile: profile,
darkBackground: darkBackground,
environment: environment,
options: options,
);