ratex 0.0.1
ratex: ^0.0.1 copied to clipboard
KaTeX-compatible math rendering for Flutter. Builds the Rust RaTeX engine with cargokit, paints formulas with bundled KaTeX fonts, and runs on the web via WebAssembly.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ratexThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
ratex: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ratex/ratex.dart';