搜尋套件、儲存庫與 APP 分類

flutter_tex 封面
套件詳情v5.3.0

flutter_tex

一個基於 LaTeX、TeX、MathML 和 AsciiMath 的 Flutter 套件,支援 HTML 與 JavaScript,用於呈現數學、物理、化學、統計方程式與表示式。

AndroidiOSWebmacOS
近 30 天下載
2.9萬
喜歡數
348
Pub 分數
150

安裝套件

flutter pub add flutter_tex

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Flutter_tex 是一個 Flutter 套件,可使用 LaTeX、TeX、MathML 和 AsciiMath 渲染複雜的數學、科學和統計表達式。它支援 HTML 和 JavaScript 整合,非常適合教育應用程式、研究工具與技術文件。此套件可在 Android、iOS、Web 和 macOS 平台上運作,提供高保真度的方程式渲染與響應式設計。它簡化了在 Flutter 應用中以乾淨、易讀格式顯示複雜公式的方式。

適用情境

  • 教育類應用
  • 科學計算器
  • 論文檢視器
  • 互動式數學教程
  • 技術文件

主要特色

  • LaTeX 和 TeX 支持
  • MathML 與 AsciiMath 解析
  • HTML 與 JavaScript 結合
  • 跨平台相容性
  • 高品質的公式渲染

適合對象

  • 開發STEM應用的開發者
  • 創建數位學習工具的教育工作者
  • 需要進階數學顯示的應用程式
  • Web 與行動混合專案
  • 包含技術方程式的內容平台

使用建議

  • 需要了解 LaTeX 語法
  • 由於渲染引擎,可能導致應用程式體積增加
  • 大型方程式帶來的效能影響
  • 有限的離線自訂選項
  • 依賴外部渲染程式庫

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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.

所屬分類

依賴

依賴清單 5 項

原始碼儲存庫

使用此套件的專案

所在榜單