Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemath_parser

Parse and evaluate mathematical expressions in Dart.

pub.devRemove
path_to_regexp

Converts path strings with parameters into regular expressions and generating functions.

pub.devRemove
ScoresHealth52 (best)50
Maintenance6 (best)0
Quality100100
Popularity3970 (best)
Community46 (best)41
Compatibility100100
UsageDownloads (30 days)9.8k74k (best)
Likes1346 (best)
Pub points160 / 160160 / 160
GitHub stars631 (best)
MaintenanceLatest release1.5.2, 2 years ago (best)0.4.0, 6 years ago
Major versions in 12 months00
Contributors2 (best)1
Publishersominemo.comleonsenft.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • No external native dependencies, works on all Flutter platforms
  • Supports custom variables, functions, and definite integrals
  • Clear API with documented node tree
  • Provides bidirectional conversion between paths and regular expressions or generation functions.
  • Supports custom parameter regular expressions, prefix matching, and case insensitivity.
  • Token-based parsing allows efficient reuse when matching and generating from the same path specification.
Weaknesses
  • Limited to simple math; no symbolic manipulation or advanced calculus
  • Parsing errors can be verbose and may require manual handling
  • Optional parameters are not supported (support was removed in version 0.2.0).
WarningsNoneNone
math_parser vs path_to_regexp: which Flutter package should you use? | pubscout