OpConverterOptions constructor

OpConverterOptions({
  1. String classPrefix = 'ql',
  2. bool? inlineStylesFlag = false,
  3. InlineStyles? inlineStyles,
  4. bool encodeHtml = true,
  5. String listItemTag = 'li',
  6. String paragraphTag = 'p',
  7. String? linkRel,
  8. String? linkTarget,
  9. bool? allowBackgroundClasses = false,
  10. String? customTag(
    1. String format,
    2. DeltaInsertOp op
    )?,
  11. Map<String, String>? customTagAttributes(
    1. DeltaInsertOp op
    )?,
  12. List<String>? customCssClasses(
    1. DeltaInsertOp op
    )?,
  13. List<String>? customCssStyles(
    1. DeltaInsertOp op
    )?,
})

Implementation

OpConverterOptions({
  this.classPrefix = 'ql',
  this.inlineStylesFlag = false,
  this.inlineStyles,
  this.encodeHtml = true,
  this.listItemTag = 'li',
  this.paragraphTag = 'p',
  this.linkRel,
  this.linkTarget,
  this.allowBackgroundClasses = false,
  this.customTag,
  this.customTagAttributes,
  this.customCssClasses,
  this.customCssStyles,
}) {
  if (inlineStyles == null && inlineStylesFlag == true) {
    inlineStyles = InlineStyles(<String, InlineStyleType>{});
  }
}