Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeexpressions

Parse and evaluate simple Dart and JavaScript like expressions.

pub.devRemove
math_parser

Parse and evaluate mathematical expressions in Dart.

pub.devRemove
ScoresHealth5152 (best)
Maintenance11 (best)6
Quality80100 (best)
Popularity43 (best)39
Community52 (best)46
Compatibility100100
UsageDownloads (30 days)1.3k9.8k (best)
Likes102 (best)13
Pub points115 / 160160 / 160 (best)
GitHub stars46 (best)6
MaintenanceLatest release0.2.5+3, a year ago (best)1.5.2, 2 years ago
Major versions in 12 months00
Contributors3 (best)2
Publisherappsup.besominemo.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies40 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Lightweight parser powered by petitparser.
  • Supports custom evaluators for member expressions and async execution.
  • No external native dependencies, works on all Flutter platforms
  • Supports custom variables, functions, and definite integrals
  • Clear API with documented node tree
Weaknesses
  • Does not support full Dart language constructs, blocks, or control flow statements.
  • Default evaluator cannot handle member expressions without custom implementation.
  • Limited to simple math; no symbolic manipulation or advanced calculus
  • Parsing errors can be verbose and may require manual handling
WarningsNoneNone
expressions vs math_parser: which Flutter package should you use? | pubscout