FormatOptions constructor

const FormatOptions({
  1. int printWidth = 80,
  2. int tabWidth = 2,
  3. ProseWrap proseWrap = ProseWrap.preserve,
  4. UnorderedListStyle ulStyle = UnorderedListStyle.asterisk,
})

Creates formatting options with the specified values.

All parameters are optional and have sensible defaults:

Implementation

const FormatOptions({
  this.printWidth = 80,
  this.tabWidth = 2,
  this.proseWrap = ProseWrap.preserve,
  this.ulStyle = UnorderedListStyle.asterisk,
});