OpConverterOptions constructor
OpConverterOptions({
- String classPrefix = 'ql',
- bool? inlineStylesFlag = false,
- InlineStyles? inlineStyles,
- bool encodeHtml = true,
- String listItemTag = 'li',
- String paragraphTag = 'p',
- String? linkRel,
- String? linkTarget,
- bool? allowBackgroundClasses = false,
- String? customTag(
- String format,
- DeltaInsertOp op
- Map<
String, String> ? customTagAttributes()?, - List<
String> ? customCssClasses()?, - List<
String> ? customCssStyles()?,
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>{});
}
}