Skip to content
pubscout

flutter_math_fork

0.7.4, released 2 years ago by simpleclub.com

Fast and high-quality TeX math equation rendering with pure Dart and Flutter.

WASM-readyQuiet but busy
$ flutter pub add flutter_math_fork
Source repository

What it does

Parses and renders TeX math equations directly in Flutter widgets with high fidelity to the KaTeX project. It provides both static rendering and a selectable math variant for copying equations.

AI-written summary of version 0.7.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to render mathematical formulas or TeX equations in your app.
  • You require select-and-copy support for rendered math text.

Skip it when

  • You need full UnicodeMath-style equation editing (not yet supported).
  • You require full MathML parsing and encoding.

Strengths

  • High fidelity with the KaTeX project.
  • Supports web and mobile platforms with pure Dart and Flutter.
  • Includes a selectable math widget.

Weaknesses

  • Some KaTeX features are unsupported.
  • Editing support is currently experimental or limited.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
5

Not documented

Math.tex(r'\frac a b', mathStyle: MathStyle.display);

Alternatives

Packages that do the same job and could replace flutter_math_fork.

  • flutter_tex

    Renders mathematical and chemical equations using LaTeX, TeX, MathML, and AsciiMath.

  • val_latex

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

  • worksheet

    High-performance spreadsheet widget supporting large datasets, zoom, and tile rendering.

Works with

Packages commonly used together with flutter_math_fork: ones it builds on, ones built on it, and its own family.