Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecel

Parses and evaluates Common Expression Language (CEL) expressions in Dart.

pub.devRemove
expressions

Parse and evaluate simple Dart and JavaScript like expressions.

pub.devRemove
ScoresHealth77 (best)51
Maintenance86 (best)11
Quality91 (best)80
Popularity51 (best)43
Community5252
Compatibility100100
UsageDownloads (30 days)229k (best)1.3k
Likes6102 (best)
Pub points140 / 160 (best)115 / 160
GitHub stars546 (best)
MaintenanceLatest release0.6.1, 4 weeks ago (best)0.2.5+3, a year ago
Major versions in 12 months00
Contributors33
Publisherwafrat.comappsup.be
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies3 (best)4
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Supports core CEL operators, ternary conditions, regex matching, and map/list lookups.
  • Simple API to compile expressions once into programs and evaluate repeatedly with different inputs.
  • Pure Dart implementation compatible across all Flutter and Dart platforms.
  • Lightweight parser powered by petitparser.
  • Supports custom evaluators for member expressions and async execution.
Weaknesses
  • Lacks support for timestamps, durations, bytes manipulation, and protobuf type conversions.
  • No compile-time type checking compared to cel-go (errors occur at runtime evaluation).
  • Does not support full Dart language constructs, blocks, or control flow statements.
  • Default evaluator cannot handle member expressions without custom implementation.
WarningsNoneNone
cel vs expressions: which Flutter package should you use? | pubscout