math_parser 1.5.2
math_parser: ^1.5.2 copied to clipboard
Process math expressions, like formulas or parts of equations, convert them to machine-readable form, and calculate them.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add math_parserWith Flutter:
$ flutter pub add math_parserThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
math_parser: ^1.5.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:math_parser/math_parser.dart';