TextWrapper typedef

TextWrapper = List<String> Function(String text, int width)

A "wrapper" for text, taking in some text and a line width and returning a list of lines for the wrapped text.

Implementation

typedef TextWrapper = List<String> Function(String text, int width);