katex 1.0.0
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_dartbox tree directly via aCustomPainter(TextPainterfor glyphs,Canvas.drawRectfor rules,Canvas.drawPathfor stretchy SVG geometry) — no re-parsing. - Bundles the KaTeX glyph fonts (SIL OFL) as package fonts.
- Painter layout matches the
katex_dartSVG serializer (verified) so Flutter and SVG agree.