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. String latexWorkaround(
    1. String tex
    )?,
  7. Widget latexBuilder(
    1. BuildContext context,
    2. String tex,
    3. TextStyle textStyle,
    4. bool inline,
    )?,
  8. bool followLinkColor = false,
  9. Widget codeBuilder(
    1. BuildContext context,
    2. String name,
    3. String code
    )?,
  10. Widget sourceTagBuilder(
    1. BuildContext context,
    2. String content,
    3. TextStyle textStyle
    )?,
  11. int? maxLines,
  12. TextOverflow? overflow,
})

Implementation

const GptMarkdownConfig({
  this.style,
  this.textDirection = TextDirection.ltr,
  this.onLinkTab,
  this.textAlign,
  this.textScaler,
  this.latexWorkaround,
  this.latexBuilder,
  this.followLinkColor = false,
  this.codeBuilder,
  this.sourceTagBuilder,
  this.maxLines,
  this.overflow,
});