TexMarkdown constructor

const TexMarkdown(
  1. String data, {
  2. Key? key,
  3. TextStyle? style,
  4. bool followLinkColor = false,
  5. TextDirection textDirection = TextDirection.ltr,
  6. String latexWorkaround(
    1. String tex
    )?,
  7. TextAlign? textAlign,
  8. TextScaler? textScaler,
  9. void onLinkTab(
    1. String url,
    2. String title
    )?,
  10. Widget latexBuilder(
    1. BuildContext context,
    2. String tex,
    3. TextStyle style,
    4. bool inline,
    )?,
  11. Widget codeBuilder(
    1. BuildContext context,
    2. String name,
    3. String code
    )?,
  12. int? maxLines,
  13. TextOverflow? overflow,
})

Implementation

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