GptMarkdownConfig constructor
const
GptMarkdownConfig({
- TextStyle? style,
- TextDirection textDirection = TextDirection.ltr,
- void onLinkTab()?,
- TextAlign? textAlign,
- TextScaler? textScaler,
- String latexWorkaround(
- String tex
- Widget latexBuilder(
- BuildContext context,
- String tex,
- TextStyle textStyle,
- bool inline,
- bool followLinkColor = false,
- Widget codeBuilder(
- BuildContext context,
- String name,
- String code
- Widget sourceTagBuilder(
- BuildContext context,
- String content,
- TextStyle textStyle
- int? maxLines,
- 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,
});