๐Ÿ“ 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