ViewTable class

A table with a header row. Columns are aligned in the text rendering.

Inheritance

Constructors

ViewTable(List<String> columns, List<List<String>> rows, {int truncated = 0})
const

Properties

columns → List<String>
final
hashCode → int
The hash code for this object.
no setterinherited
rows → List<List<String>>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
truncated → int
Rows omitted from this projection — see ViewItems.truncated.
final

Methods

capped(int maxRows) → ViewNode
This node with its rows capped — see PluginView.capped. A node that holds no rows is its own answer.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
override
toString() → String
A string representation of this object.
inherited
writeText(StringBuffer out, int depth) → void
override

Operators

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