MarkdownTableRenderer class
Renders a GitHub-flavored Markdown table. The group name is shown on the first row of each group.
- Inheritance
-
- Object
- TableRenderer
- MarkdownTableRenderer
Constructors
- MarkdownTableRenderer({CellStyle style = const CellStyle(), int headingLevel = 3, bool showWarnings = true})
-
Creates a renderer. A
headingLevelabove 0 writes the title as a heading of that level above the table.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- headingLevel → int
-
The 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