ConsoleTable class

A class that renders a formatted ASCII table in the console.

Constructors

ConsoleTable({required List<String> headers, required List<List<String>> rows})
Creates a ConsoleTable with the given headers and rows.

Properties

hashCode int
The hash code for this object.
no setterinherited
headers List<String>
The column headers for the table.
final
rows List<List<String>>
The data rows to display.
final
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
render() → void
Render the table to stdout
toString() String
A string representation of this object.
inherited

Operators

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