Skip to content

Shahxad-Akram/flutter_tex

Repository files navigation

GitHub stars pub package


Schrödinger Equation

Flutter $\rm\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, $\rm\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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 10