katex 1.0.0 copy "katex: ^1.0.0" to clipboard
katex: ^1.0.0 copied to clipboard

A Flutter widget that renders LaTeX math by painting the backend-agnostic box tree from the pure-Dart katex_dart package. KaTeX in Flutter.

Changelog #

1.0.0 #

Initial release. A Flutter widget that renders LaTeX math using the pure-Dart katex_dart package.

  • Math(tex, {displayMode, fontSize, color, onError, throwOnError}) widget.
  • Paints the katex_dart box tree directly via a CustomPainter (TextPainter for glyphs, Canvas.drawRect for rules, Canvas.drawPath for stretchy SVG geometry) — no re-parsing.
  • Bundles the KaTeX glyph fonts (SIL OFL) as package fonts.
  • Painter layout matches the katex_dart SVG serializer (verified) so Flutter and SVG agree.
1
likes
160
points
132
downloads

Documentation

API reference

Publisher

verified publisherroszkowski.dev

Weekly Downloads

A Flutter widget that renders LaTeX math by painting the backend-agnostic box tree from the pure-Dart katex_dart package. KaTeX in Flutter.

Homepage
Repository (GitHub)
View/report issues

Topics

#latex #katex #math #widget

License

MIT (license)

Dependencies

flutter, katex_dart

More

Packages that depend on katex