Console class

Implemented types

Constructors

Console({required StringSink sink})

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

flush() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visibleLength(String input) int
Function to remove ANSI escape sequences from a string Function to calculate the visible length of a string (excluding ANSI escape sequences)
write(Object? object) → void
Writes the string representation of object.
override
writeAll(Iterable objects, [String separator = ""]) → void
Writes the elements of objects separated by separator.
override
writeBordered(List<String> lines, {int horizontalPadding = 2, int verticalPadding = 1, BorderCharacters border = const BorderCharacters.basic(), Alignment alignment = Alignment.center}) → void
writeCharCode(int charCode) → void
Writes a string containing the character with code point charCode.
override
writeln([Object? object = ""]) → void
Writes the string representation of object followed by a newline.
override

Operators

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