Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributekt_dart

Kotlin standard library port for Dart and Flutter with 150+ collection methods.

pub.devRemove
result_dart

Kotlin and Swift inspired Result class for error handling in Dart and Flutter.

pub.devRemove
ScoresHealth5069 (best)
Maintenance28 (best)25
Quality91100 (best)
Popularity6177 (best)
Community80 (best)74
Compatibility100100
UsageDownloads (30 days)7.9k67k (best)
Likes170175 (best)
Pub points140 / 160160 / 160 (best)
GitHub stars468 (best)62
MaintenanceLatest release1.1.0, 4 years ago2.2.0, 9 months ago (best)
Major versions in 12 months00
Contributors19 (best)7
Publisherpascalwelsch.comflutterando.com.br
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies11
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Comprehensive port of Kotlin standard library with 150+ methods
  • Immutable collections by default preventing accidental mutations
  • Deep equals comparison out of the box
  • Reduces boilerplate by defaulting failure types to Exception.
  • Includes a wide range of transformation and recovery operators.
  • Supports asynchronous workflows via AsyncResult typedef.
Weaknesses
  • Requires converting between native Dart collections and kt_dart collections
  • Collections do not directly implement standard Dart Iterable, requiring .iter or .asList
  • Does not provide full functional programming suites like dartz or fpdart.
  • Requires adopting a Result return type convention throughout the codebase.
WarningsNoneNone
kt_dart vs result_dart: which Flutter package should you use? | pubscout