Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributediffutil_dart

Calculate the difference between two lists as a list of edit operations.

pub.devRemove
list_diff

Calculates a minimal list of operations to convert one list into another.

pub.devRemove
ScoresHealth70 (best)44
Maintenance40 (best)0
Quality97 (best)96
Popularity81 (best)49
Community46 (best)17
Compatibility100 (best)85
UsageDownloads (30 days)223k (best)40k
Likes104 (best)12
Pub points160 / 160 (best)150 / 160
GitHub stars31 (best)11
MaintenanceLatest release5.0.0, 6 months ago (best)2.0.1, 5 years ago
Major versions in 12 months10 (best)
Contributors23 (best)
Publisherlittlebat.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseAPACHE-2.0BSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Efficient Myers algorithm implementation with O(N) space and O(N + D^2) time performance
  • Supports custom equality checks, move detection, and batching of insert/remove operations
  • Provides updates with concrete data items via getUpdatesWithData()
  • Provides both asynchronous and synchronous diff calculation methods.
  • Automatically spawns an isolate for large datasets by default.
  • Allows custom equality and hash code functions.
Weaknesses
  • Move detection increases time complexity to O(N^2)
  • Requires manual application of the returned edit operations to your UI or data structures
  • Runtime complexity is currently O(N*M).
  • Limited to insertions and deletions (no direct move/replacement operations mentioned).
WarningsNoneNone
diffutil_dart vs list_diff: which Flutter package should you use? | pubscout