TexParserSettings constructor

const TexParserSettings({
  1. bool displayMode = false,
  2. bool throwOnError = true,
  3. Map<String, MacroDefinition> macros = const {},
  4. int maxExpand = 1000,
  5. Strict strict = Strict.warn,
  6. Strict strictFun(
    1. String,
    2. String,
    3. Token?
    )?,
  7. bool globalGroup = false,
  8. bool colorIsTextColor = false,
})

Implementation

const TexParserSettings({
  this.displayMode = false,
  this.throwOnError = true,
  this.macros = const {},
  this.maxExpand = 1000,
  Strict strict = Strict.warn,
  this.strictFun,
  this.globalGroup = false,
  this.colorIsTextColor = false,
}) : this.strict = strictFun == null ? strict : Strict.function
//: assert(strict != Strict.function || strictFun != null) // This line causes analyzer error
;