args/src/utils library
Functions
-
padRight(
String source, int length) → String -
Pads
source
tolength
by 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 thestart
column, and returns the result as a list of strings.