TransformConfiguration constructor
const
TransformConfiguration({
- required List<
DomTransformer> domTransformers, - required List<
TextTransformer> textTransformers, - int? maxImageWidth,
- bool blockExternalImages = false,
- bool preferPlainText = false,
- bool enableDarkMode = false,
- String emptyMessageText = standardEmptyMessageText,
- String plainTextHtmlTemplate = standardPlainTextHtmlTemplate,
- Map<
String, dynamic> ? customValues,
Creates a new transform configuration
Compare TransformConfiguration.create to have an easier to use building function.
Implementation
const TransformConfiguration({
required this.domTransformers,
required this.textTransformers,
this.maxImageWidth,
this.blockExternalImages = false,
this.preferPlainText = false,
this.enableDarkMode = false,
this.emptyMessageText = standardEmptyMessageText,
this.plainTextHtmlTemplate = standardPlainTextHtmlTemplate,
this.customValues,
});