printer library

Provides a first-class model to convert object to strings using composition and highly configurable formatting primitives.

Classes

DateTimePrinter
Prints DateTime objects in custom ways.
DurationPrinter
Prints Duration objects in custom ways.
FieldPrinter<T>
Abstract field description.
FixedNumberPrinter<T extends num>
Prints numbers in a fixed format.
HumanNumberPrinter<T extends num>
Prints numbers in a custom human readable string.
LiteralPrinter<T>
Prints a string literal.
NumeralSystem
A class defining different numeral systems for number printing.
ObjectPrinter<T>
Configurable printer for standard objects.
OrdinalNumberPrinter
Prints numbers in an ordinal format.
Printer<T>
An abstract function that prints objects of type T.
ScientificNumberPrinter<T extends num>
Prints numbers in a scientific format.
SequencePrinter<T>
Prints a sequence of printers.
SignNumberPrinter<T extends num>
Prints numbers in various formats.
StandardPrinter<T>
Calls the standard toString method.
TypePrinter<T>
Printer of the dynamic runtime type.

Enums

TruncateMethod
Method to truncate.

Mixins

ToStringPrinter
A mixin to provide a consistent toString() implementation.

Properties

unicodeCodePointPrinter Printer<int>
Prints a unicode code-point.
final