equation_highlighter 0.1.0

SDKflutter
Platformandroidioswindowslinuxmacosweb

A Flutter package to highlight, format, and tokenize mathematical equations.

📐 Equation Highlighter

A Flutter package to highlight, format, and tokenize mathematical equations in a customizable, testable, and modular way. Designed for use in math editors, educational apps, and scientific tools.


✨ Features

  • 🔠 Tokenizes equations into operators, numbers, variables, and functions.
  • 🖍️ Applies custom text styles to different token types for equation highlighting.
  • 🧼 Sanitizes and normalizes raw math input.
  • 🧾 Formats equations for better visual consistency.
  • 🧪 Integrated test suite with mock data for reliability.

🚀 Getting Started

📦 Installation

Add the package to your pubspec.yaml:

dependencies:
  equation_highlighter:
    path: ../equation_highlighter