ConsoleWidget constructor

const ConsoleWidget({
  1. Key? key,
  2. required Widget child,
  3. bool showConsole = true,
  4. int maxLines = 200,
})

Creates a ConsoleWidget.

The child parameter is required and specifies the widget to display inside the console area. The showConsole parameter determines whether the console is visible. The maxLines parameter sets the maximum number of lines to display in the console output.

Implementation

const ConsoleWidget({
  Key? key,
  required this.child,
  this.showConsole = true,
  this.maxLines = 200,
}) : super(key: key);