GptMarkdownConfig constructor

const GptMarkdownConfig({
  1. TextStyle? style,
  2. TextDirection textDirection = TextDirection.ltr,
  3. void onLinkTab(
    1. String url,
    2. String title
    )?,
  4. TextAlign? textAlign,
  5. TextScaler? textScaler,
  6. bool followLinkColor = false,
  7. CodeBlockBuilder? codeBuilder,
  8. SourceTagBuilder? sourceTagBuilder,
  9. HighlightBuilder? highlightBuilder,
  10. OrderedListBuilder? orderedListBuilder,
  11. UnOrderedListBuilder? unOrderedListBuilder,
  12. LinkBuilder? linkBuilder,
  13. ImageBuilder? imageBuilder,
  14. int? maxLines,
  15. TextOverflow? overflow,
  16. List<MarkdownComponent>? components,
  17. List<MarkdownComponent>? inlineComponents,
})

Implementation

const GptMarkdownConfig({
  this.style,
  this.textDirection = TextDirection.ltr,
  this.onLinkTab,
  this.textAlign,
  this.textScaler,
  this.followLinkColor = false,
  this.codeBuilder,
  this.sourceTagBuilder,
  this.highlightBuilder,
  this.orderedListBuilder,
  this.unOrderedListBuilder,
  this.linkBuilder,
  this.imageBuilder,
  this.maxLines,
  this.overflow,
  this.components,
  this.inlineComponents,
});