Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_tex_js

Render TeX to PNG using KaTeX in a native WebView

pub.devRemove
val_latex

LaTeX math parser and layout engine in pure Dart with OpenType fonts.

pub.devRemove
ScoresHealth6277 (best)
Maintenance7481 (best)
Quality94100 (best)
Popularity1656 (best)
Community4646
Compatibility73100 (best)
UsageDownloads (30 days)58574k (best)
Likes13 (best)7
Pub points160 / 160160 / 160
GitHub stars11 (best)0
MaintenanceLatest release7.0.0, 3 months ago0.1.4, 2 weeks ago (best)
Major versions in 12 months20 (best)
Contributors22
Publishermadlon-kay.comuseval.io
FitPlatformsAndroid, iOSAll (pure Dart)
WASM-readyYesYes
KindPlugin (native code)Pure Dart
Code generationNoNo
Direct dependencies41 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Lightweight – only a single native WebView is used
  • Fast rendering via KaTeX
  • Supports both Android and iOS
  • No heavy dependencies
  • Pure Dart implementation runs anywhere Dart runs (VM, Flutter, server, web).
  • Never throws on bad input, gracefully handling unfinished LLM streams or diagnostics.
  • Supports broad LaTeX coverage including amsmath, physics, and chemistry packages.
Weaknesses
  • Requires Flutter 3.47/Dart 3.13 or newer
  • iOS 11+ required for rendering
  • Limited to PNG output (no vector)
  • No support for older Flutter versions
  • Requires an additional companion package (`val_latex_flutter`) to get Flutter widgets like `Math` and `MathText`.
Warnings
  • Native setup
None
flutter_tex_js vs val_latex: which Flutter package should you use? | pubscout