Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefpdart

Functional programming types and patterns for Dart and Flutter.

pub.devRemove
pure

Functional programming essentials for Dart with composition, memoization, and trampolines.

pub.devRemove
ScoresHealth71 (best)56
Maintenance1427 (best)
Quality9697 (best)
Popularity88 (best)32
Community100 (best)46
Compatibility100100
UsageDownloads (30 days)291k (best)3.6k
Likes1.1k (best)14
Pub points150 / 160160 / 160 (best)
GitHub stars623 (best)17
MaintenanceLatest release1.2.0, a year ago1.0.0, 8 months ago (best)
Major versions in 12 months0 (best)1
Contributors19 (best)2
Publishersandromaglione.comyakov.codes
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Comprehensive suite of functional types (Option, Either, Task, Reader, State, etc.).
  • First-class support for Dart 3 features like sealed classes, pattern matching, and records.
  • Extensive documentation and blog posts/tutorials by the author.
  • Provides tail call optimization and stack-safe recursion.
  • Supports up to 9 arguments for extensions like composition and currying.
  • Includes both strong and weak memoization capabilities.
Weaknesses
  • Steep learning curve for developers new to functional programming paradigms.
  • Version 2 rewrite is currently in development and pre-release stage.
  • Can make code harder to read for developers unfamiliar with functional programming idioms.
  • Using memoization on impure functions leads to unexpected behavior.
WarningsNoneNone
fpdart vs pure: which Flutter package should you use? | pubscout