Skip to content
pubscout

flutter_html_math

3.0.0, released 2 years ago by sub6resources.com

Renders <math> tags in flutter_html using flutter_math_fork.

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

What it does

The package parses MathML inside <math> elements to TeX and displays it with flutter_math_fork. It integrates as an Html extension for flutter_html.

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

Use it when

  • You need MathML support in flutter_html
  • You want to display equations without writing TeX manually

Skip it when

  • You only need simple HTML without math
  • You require full MathML feature parity

Strengths

  • Seamless integration with flutter_html
  • Leverages flutter_math_fork for rendering
  • Supports many MathML tags

Weaknesses

  • Partial MathML support may miss some features
  • Parsing errors require handling via onMathError

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3
Widget html = Html(
  extensions: {
    MathHtmlExtension(),
  },
);

Alternatives

Packages that do the same job and could replace flutter_html_math.

Works with

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