CellStyle class
How a Markdown or HTML cell shows its ranking.
Constructors
Properties
- barEmpty → String
-
The character for the empty part of a bar.
final
- barFilled → String
-
The character for the filled part of a bar.
final
- barWidth → int
-
Characters in a bar; 0 hides the bars.
final
- bestMark → String
-
Marks the best cell of a column within its group.
final
- fasterMark → String
-
Precedes the ratio of a cell faster than the baseline.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ratios → bool
-
Whether non-baseline cells show their ratio to the baseline.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- similarMark → String
-
Replaces the ratio of a cell whose difference from the baseline is not
significant.
final
- slowerMark → String
-
Precedes the ratio of a cell slower than the baseline.
final
Methods
-
bar(
ComparisonCell cell) → String - A bar of barWidth characters, filled in proportion to the cell's score against the best. A measured cell always fills at least one.
-
marks(
ComparisonCell cell) → String -
The ratio to the baseline with its mark, such as
🔻2.5x, or similarMark when the difference is not significant; otherwise bestMark for the best cell; otherwise empty. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited