TextWrapper constructor
TextWrapper({
- int width = 70,
- String initialIndent = '',
- String subsequentIndent = '',
- bool expandTabs = true,
- bool replaceWhitespace = true,
- bool fixSentenceEndings = false,
- bool breakLongWords = true,
- bool dropWhitespace = true,
- bool breakOnHyphens = true,
- int tabSize = 8,
- int maxLines = -1,
- String placeholder = ' ...',
Implementation
TextWrapper({
this.width = 70,
this.initialIndent = '',
this.subsequentIndent = '',
this.expandTabs = true,
this.replaceWhitespace = true,
this.fixSentenceEndings = false,
this.breakLongWords = true,
this.dropWhitespace = true,
this.breakOnHyphens = true,
this.tabSize = 8,
this.maxLines = -1,
this.placeholder = ' ...',
});