TerminalView constructor

TerminalView({
  1. Key? key,
  2. required TerminalUiInteraction terminal,
  3. TerminalStyle style = const TerminalStyle(),
  4. double opacity = 1.0,
  5. FocusNode? focusNode,
  6. bool autofocus = false,
  7. ScrollController? scrollController,
  8. TextInputType inputType = TextInputType.text,
  9. bool enableSuggestions = false,
  10. TextInputAction inputAction = TextInputAction.done,
  11. Brightness keyboardAppearance = Brightness.light,
  12. bool autocorrect = false,
  13. InputBehavior? inputBehavior,
  14. ScrollBehavior? scrollBehavior,
  15. 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));