NiceTerminal constructor

const NiceTerminal({
  1. Key? key,
  2. NiceTerminalController? controller,
  3. String? welcomeMessage,
  4. String prompt = '\$ ',
  5. TextStyle? textStyle,
  6. Color? backgroundColor,
  7. Color? textColor,
  8. Color? cursorColor,
  9. Color? selectionColor,
  10. double fontSize = 14,
  11. String fontFamily = 'monospace',
  12. int maxLines = 1000,
  13. bool readOnly = false,
  14. Future<String> onCommand(
    1. String command
    )?,
  15. ValueChanged<String>? onInput,
})

Implementation

const NiceTerminal({
  super.key,
  this.controller,
  this.welcomeMessage,
  this.prompt = '\$ ',
  this.textStyle,
  this.backgroundColor,
  this.textColor,
  this.cursorColor,
  this.selectionColor,
  this.fontSize = 14,
  this.fontFamily = 'monospace',
  this.maxLines = 1000,
  this.readOnly = false,
  this.onCommand,
  this.onInput,
});