args/src/utils library
Functions
-
padRight(
String source, int length) → String -
Pads
sourcetolengthby adding spaces at the end. -
wrapText(
String text, {int? length, int? hangingIndent}) → String -
Wraps a block of text into lines no longer than
length. -
wrapTextAsLines(
String text, {int start = 0, int? length}) → List< String> -
Wraps a block of text into lines no longer than
length, starting at thestartcolumn, and returns the result as a list of strings.