Search packages, repositories and app categories

GitHub repositoryShahxad-Akram/flutter_tex

flutter_tex

A Flutter Package to render Mathematics, Physics and Chemistry Equations based on LaTeX

flutter_tex project cover
Stars
307
Forks
147
Last push (UTC)
Sep 10, 2026
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

GitHub stars pub package


Schrödinger Equation

Flutter TeX is 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, TeX, 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

Flutter Web

Web Demo

Get it on Google Play

Android Demo

YouTube Demo

Video Demo (old)

See screenshots in the Gallery.

📦 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.

Math2SVG(math: r"x = {-b \pm \sqrt{b^2-4ac} \over 2a}")

Output:

Quadratic Formula

👉 See Detailed Examples

📖 Full Documentation

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

Credits

We extend our sincere credit to the original MathJax developers, whose work is the foundation of this package.

Shahzad Akram GitHub avatar
GitHub author

Shahzad Akram ↗

A self-taught Programmer and a Chemist by profession.

Sargodha, Punjab, Pakistan
LanguagesDartJavaScriptHTMLRubySwiftCSSKotlinObjective-C

Categories

Packages published by this repository

Dependencies used

Dependency list 8 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗