flutter_math_compat library
Drop-in replacement for package:flutter_math_fork/flutter_math.dart.
Change the import and keep the code: Math.tex, MathStyle,
MathOptions, FontOptions, MathSize, TexParserSettings,
Strict, onErrorFallback and the exception classes keep their
flutter_math_fork shapes and are mapped onto val_latex. New code
should use package:val_latex_flutter/val_latex_flutter.dart
directly; see MIGRATION.md.
Classes
- FontOptions
-
Font request (only the weight is honoured: bold math via
\boldsymbol). - Math
-
flutter_math_fork's
Mathwidget, backed by val_latex. - MathOptions
- flutter_math_fork's rendering options.
- SelectableMath
-
flutter_math_fork's
SelectableMath: a Math inside its own SelectionArea (or the enclosing one); copying gives the LaTeX source. - TexParserSettings
- flutter_math_fork's parser settings.
Enums
Typedefs
- OnErrorFallback = Widget Function(FlutterMathException errmsg)
- Builds a widget to show when a formula cannot be rendered.
Exceptions / Errors
- BuildException
- A build error (val_latex has none; kept for type compatibility).
- FlutterMathException
- Base of flutter_math_fork's exceptions.
- ParseException
- A parse error.