ConsoleExecutor class

Constructors

ConsoleExecutor({Stdin? stdin, Stdout? stdout})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearCurrentToEndLine() → void
clearCurrentToEndScreen() → void
clearCurrentToStartLine() → void
clearCurrentToStartScreen() → void
clearDisplayNative(int n) → void
clearLine({bool resetCursor = true}) → void
clearLineNative(int n) → void
clearScreen({bool resetCursor = true}) → void
clearScreenClearScrollback() → void
draw(ConsoleComponent component, {bool restoreCursor = false, ConsoleCoordinate? cursor}) → void
drawMultiple(Iterable<AbsoluteConsoleComponent> components, {bool restoreCursor = true, ConsoleCoordinate? cursor}) → void
getCursorPosition([bool flush = false]) ConsoleCoordinate
getWindowHeight() int
getWindowWidth() int
moveBackward([int n = 1]) → void
moveDown([int n = 1]) → void
moveForward([int n = 1]) → void
moveNextLine([int n = 1]) → void
movePrevLine([int n = 1]) → void
moveTo(int x, int y) → void
moveToBottomLeft() → void
moveToBottomRight() → void
moveToColumn(int n) → void
moveToCoordinate(ConsoleCoordinate coordinate) → void
moveToTopLeft() → void
moveToTopRight() → void
moveUp([int n = 1]) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readDouble({String? prompt, Encoding encoding = io.systemEncoding}) double?
readInt({String? prompt, Encoding encoding = io.systemEncoding}) int?
readLine({String? prompt, Encoding encoding = io.systemEncoding, bool retainNewlines = false}) String
scrollDown(int n) → void
scrollUp(int n) → void
toString() String
A string representation of this object.
inherited
write(String message, {SimpleColor? foregroundColor, SimpleColor? backgroundColor}) → void
writeLine(String? message, {SimpleColor? foregroundColor}) → void

Operators

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