Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemultiple_result

A Result type for Dart inspired by dartz's Either and Kotlin's sealed classes.

pub.devRemove
result_type

A Result type representing success or failure in Dart

pub.devRemove
ScoresHealth62 (best)50
Maintenance26 (best)1
Quality100 (best)96
Popularity73 (best)47
Community2841 (best)
Compatibility100100
UsageDownloads (30 days)38k (best)5.1k
Likes174 (best)35
Pub points160 / 160 (best)150 / 160
GitHub stars54 (best)12
MaintenanceLatest release5.3.0, 8 months ago (best)1.0.0, 3 years ago
Major versions in 12 months00
Contributors5 (best)1
PublisherUnverifiedminikin.me
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Clean and lightweight implementation of the Result pattern
  • Leverages Dart 3 sealed classes and extension types for zero-cost async wrappers
  • Comprehensive functional methods for transforming and chaining results
  • Type-safe success/failure representation
  • Easy chaining with map/flatMap
  • Convenient unwrapOr and unwrapOrElse helpers
Weaknesses
  • Does not replace a full-featured functional programming library if you need more monads than Either
  • No built-in async/await integration beyond Result type
  • Limited to single value, not collections or streams
WarningsNoneNone
multiple_result vs result_type: which Flutter package should you use? | pubscout