Terminal class

An individual terminal instance within the integrated terminal.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

Terminal({String? name, Future? processId, dynamic creationOptions, TerminalExitStatus? exitStatus, TerminalState? state, void sendText(String, [bool?])?, void show([bool?])?, void hide()?, void dispose()?})
factory

Properties

creationOptions → dynamic

Available on Terminal, provided by the Terminal$Typings extension

The object used to initialize the terminal, this is useful for example to detecting the shell type of when the terminal was not launched by this extension or for detecting what folder the shell was launched in.
no setter
dispose ↔ void Function()

Available on Terminal, provided by the Terminal$Typings extension

getter/setter pair
exitStatus TerminalExitStatus?

Available on Terminal, provided by the Terminal$Typings extension

The exit status of the terminal, this will be undefined while the terminal is active.
no setter
hashCode int
The hash code for this object.
no setterinherited
hide ↔ void Function()

Available on Terminal, provided by the Terminal$Typings extension

getter/setter pair
name String

Available on Terminal, provided by the Terminal$Typings extension

The name of the terminal.
no setter
processId Future

Available on Terminal, provided by the Terminal$Typings extension

The process ID of the shell process.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendText ↔ void Function(String, [bool?])

Available on Terminal, provided by the Terminal$Typings extension

getter/setter pair
show ↔ void Function([bool?])

Available on Terminal, provided by the Terminal$Typings extension

getter/setter pair
state TerminalState

Available on Terminal, provided by the Terminal$Typings extension

The current state of the {@link Terminal}.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited