utils library Null safety

Functions

padRight(String source, int length) String
Pads source to length 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 the start column, and returns the result as a list of strings. [...]