flutter_tex 5.2.4
flutter_tex: ^5.2.4 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.
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:
- 👉 Click Here for Full Documentation
Screenshots #
| TeXWidget | Quiz Sample | TeX Document |
|---|---|---|
![]() |
![]() |
![]() |
📦 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:



