TerminalView constructor
TerminalView({
- Key? key,
- required TerminalUiInteraction terminal,
- TerminalStyle style = const TerminalStyle(),
- double opacity = 1.0,
- FocusNode? focusNode,
- bool autofocus = false,
- ScrollController? scrollController,
- TextInputType inputType = TextInputType.text,
- bool enableSuggestions = false,
- TextInputAction inputAction = TextInputAction.done,
- Brightness keyboardAppearance = Brightness.light,
- bool autocorrect = false,
- InputBehavior? inputBehavior,
- ScrollBehavior? scrollBehavior,
- double padding = 0.0,
Implementation
TerminalView({
Key? key,
required this.terminal,
this.style = const TerminalStyle(),
this.opacity = 1.0,
FocusNode? focusNode,
this.autofocus = false,
ScrollController? scrollController,
this.inputType = TextInputType.text,
this.enableSuggestions = false,
this.inputAction = TextInputAction.done,
this.keyboardAppearance = Brightness.light,
this.autocorrect = false,
InputBehavior? inputBehavior,
this.scrollBehavior,
this.padding = 0.0,
}) : focusNode = focusNode ?? FocusNode(),
scrollController = scrollController ?? ScrollController(),
inputBehavior = inputBehavior ?? InputBehaviors.platform,
super(key: key ?? ValueKey(terminal));