TextWrapper constructor

TextWrapper({
  1. int width = 70,
  2. String initialIndent = '',
  3. String subsequentIndent = '',
  4. bool expandTabs = true,
  5. bool replaceWhitespace = true,
  6. bool fixSentenceEndings = false,
  7. bool breakLongWords = true,
  8. bool dropWhitespace = true,
  9. bool breakOnHyphens = true,
  10. int tabSize = 8,
  11. int maxLines = -1,
  12. 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 = ' ...',
});