flutter_tex 5.2.3 copy "flutter_tex: ^5.2.3" to clipboard
flutter_tex: ^5.2.3 copied to clipboard

A Flutter package to render Maths, Physics, Chemistry, Statistics equations and expressions based on LaTeX, TeX, MathML and AsciiMath with HTML and JavaScript support.

GitHub stars pub package

A self-contained Flutter package leveraging MathJax to deliver robust, fully offline rendering of mathematical and chemical notations. #

🚀 Key Features #

  • Offline Rendering: No internet connection required after setup.
  • Multiple Formats: Supports LaTeX, MathML, and AsciiMath.
  • Three Powerful Widgets:
    • Math2SVG: Pure Flutter based (no webview) high-performance widget, for maths formulas rendering, support LaTeX, MathML and AsciiMath.
    • TeXWidget: Based on Math2SVG dedicated for LaTeX rendering.
    • TeXView: Advanced webview-based rendering for complex HTML/JS content.
  • 👉 Click Here for Full Documentation

Screenshots #

TeXWidget Quiz Sample TeX Document

🌏 Web Demo: https://flutter-tex.web.app/ #

📦 Installation #

For the detailed installation and setup instructions for different platforms , please refer to the Installation Guide.

🛠 Quick Example #

Caution

Make sure to follow the Installation Guide before running the example.

TeXWidget(math: r"When \(a \ne 0 \), then $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$")

Output:

When $a \ne 0$, then $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$

📖 Full Documentation #

For detailed setup instructions, API references, and advanced configurations (Custom Fonts, MathJax settings, etc.), please visit our official documentation:

👉 Click Here for Full Documentation

Demo Application #

Get it on Google Play

340
likes
0
points
5k
downloads

Publisher

verified publishershahxad.com

Weekly Downloads

A Flutter package to render Maths, Physics, Chemistry, Statistics equations and expressions based on LaTeX, TeX, MathML and AsciiMath with HTML and JavaScript support.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_svg, markdown, url_launcher, web, webview_flutter_plus

More

Packages that depend on flutter_tex