TruncatePrinterExtension<T> extension
- on
-
- Printer<
T>
- Printer<
Methods
-
truncateCenter(
int width, {String ellipsis = defaultEllipsis, TruncateMethod method = TruncateMethod.characters}) → Printer< T> - Truncates the string from the center if it is longer than width.
-
truncateLeft(
int width, {String ellipsis = defaultEllipsis, TruncateMethod method = TruncateMethod.characters}) → Printer< T> - Truncates the string from the left side if it is longer than width.
-
truncateRight(
int width, {String ellipsis = defaultEllipsis, TruncateMethod method = TruncateMethod.characters}) → Printer< T> - Truncates the string from the right side if it is longer than width.