TerminalClearMode enum

Modes available when clearing a screen or line.

When used with clearScreen: all - clears the entire screen fromCursor - clears from the cursor until the end of the screen toCursor - clears from the start of the screen to the cursor.

When used with clearLine: all - clears the entire line fromCursor - clears from the cursor until the end of the line. toCursor - clears from the start of the line to the cursor.

Inheritance
Available extensions

Values

all → const TerminalClearMode

clear whole screen

fromCursor → const TerminalClearMode

clear screen from the cursor to the bottom of the screen.

toCursor → const TerminalClearMode

clear screen from the top of the screen to the cursor

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<TerminalClearMode>
A constant List of the values in this enum, in order of their declaration.