HtmlTableRenderer class
Renders an HTML <table>, with each group name spanning its rows. HTML
tables also render inside Markdown files such as a README.
- Inheritance
-
- Object
- TableRenderer
- HtmlTableRenderer
Constructors
- HtmlTableRenderer({CellStyle style = CellStyle.html, int headingLevel = 3, bool showWarnings = true})
-
Creates a renderer. A
headingLevelabove 0 writes the title as a Markdown heading of that level above the table.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- headingLevel → int
-
The Markdown heading level of the title; 0 omits it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showWarnings → bool
-
Whether to list Comparison.warnings below the table.
final
- style → CellStyle
-
How cells show their ranking.
final
Methods
-
The text after the last group.
override
-
group(
Comparison table, ComparisonGroup group) → String -
The text for one measured group of
table.override -
header(
Comparison table) → String -
The text before the first group: the title and column headers.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Comparison table) → String -
The whole
tableat once.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited