NegativeByteFormatter class abstract

Utilities for formatting negative byte values.

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

format(double bytes, {NegativeValueOptions options = NegativeValueOptions.defaults, int decimals = 2}) String
Format a byte value that can be negative.
formatComparison(double fromBytes, double toBytes, {int decimals = 2, bool showPercentage = true}) String
Format a comparison between two values.
formatDelta(SizeDelta delta, {NegativeValueOptions options = NegativeValueOptions.defaults, int decimals = 2}) String
Format a byte delta with direction awareness.
formatSummary(List<SizeDelta> deltas, {int decimals = 2}) String
Format multiple deltas as a summary.
formatWithArrow(double bytes, {int decimals = 2, String upArrow = '↑', String downArrow = '↓', String noChangeSymbol = '–'}) String
Format with up/down arrows for visual indication.