NegativeBytesDoubleExtension extension

Extension on double for negative byte formatting.

on

Methods

formatAsSignedBytes({NegativeValueOptions options = NegativeValueOptions.defaults, int decimals = 2}) → String

Available on double, provided by the NegativeBytesDoubleExtension extension

Format as bytes with negative value support.
formatWithArrow({int decimals = 2, String upArrow = '↑', String downArrow = '↓'}) → String

Available on double, provided by the NegativeBytesDoubleExtension extension

Format with arrow indicator.