truncateRight method
Printer<T>
truncateRight(
- int width, {
- String ellipsis = defaultEllipsis,
- TruncateMethod method = TruncateMethod.characters,
Truncates the string from the right side if it is longer than width.
Implementation
Printer<T> truncateRight(int width,
{String ellipsis = defaultEllipsis,
TruncateMethod method = TruncateMethod.characters}) =>
TruncateRightPrinter<T>(this, width, ellipsis, method);