TerminalClearMode enum Null safety
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.
Constants
- all → const TerminalClearMode
-
clear whole screen
const TerminalClearMode(0)
- fromCursor → const TerminalClearMode
-
clear screen from the cursor to the bottom of the screen.
const TerminalClearMode(1)
- toCursor → const TerminalClearMode
-
clear screen from the top of the screen to the cursor
const TerminalClearMode(2)
-
values
→ const List<
TerminalClearMode> -
A constant List of the values in this enum, in order of their declaration.
const List<
TerminalClearMode>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited