DCConsole class
The root of the console API
Constructors
- DCConsole.new({required DCConsoleAdapter raw_console})
-
const
Properties
- columns → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- raw_console → DCConsoleAdapter
-
final
- rows → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
alt_buffer(
) → void -
center_cursor(
{bool row = true}) → void -
erase_display(
[int type = 0]) → void - Erases the Display
-
erase_line(
[int type = 0]) → void - Erases the Line
-
get_cursor_position(
) → DCCursorPosition -
hide_cursor(
) → void -
move_cursor(
{int? row, int? column}) → void -
move_cursor_back(
[int times = 1]) → void -
Moves the Cursor Back the specified amount of
times
. -
move_to_column(
int number) → void -
Moves the the column specified in
number
. -
norm_buffer(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overwrite_line(
String line) → void -
Overwrites the current line with
line
. -
reset_all(
) → void -
reset_background_color(
) → void -
set_background_color(
int id, {bool xterm = false, bool bright = false}) → void -
set_text_color(
int id, {bool xterm = false, bool bright = false}) → void - Sets the Current Text Color.
-
sgr(
int id, [List< int> ? params]) → void -
show_cursor(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
write_ansi(
String after) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited