NiceTerminal constructor
const
NiceTerminal({
- Key? key,
- NiceTerminalController? controller,
- String? welcomeMessage,
- String prompt = '\$ ',
- TextStyle? textStyle,
- Color? backgroundColor,
- Color? textColor,
- Color? cursorColor,
- Color? selectionColor,
- double fontSize = 14,
- String fontFamily = 'monospace',
- int maxLines = 1000,
- bool readOnly = false,
- Future<
String> onCommand(- String command
- 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,
});