Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeanthropic_sdk_dart

Dart client for the Anthropic API with streaming and tool support

pub.devRemove
llm_json_stream

A streaming JSON parser optimized for parsing LLM responses incrementally.

pub.devRemove
ScoresHealth86 (best)56
Maintenance97 (best)40
Quality8597 (best)
Popularity63 (best)16
Community80 (best)41
Compatibility100100
UsageDownloads (30 days)28k (best)286
Likes17 (best)13
Pub points160 / 160160 / 160
GitHub stars27 (best)15
MaintenanceLatest release11.0.0, 9 days ago (best)1.0.0, 6 months ago
Major versions in 12 months111 (best)
Contributors27 (best)1
Publisherdavidmiguel.comvincentsanicolas.me
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies41 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Pure Dart client supporting multiple platforms including mobile, web, and server-side.
  • Type-safe models mirroring the official Anthropic API specification closely.
  • Processes incomplete JSON fragments chunk-by-chunk without throwing errors.
  • Provides both streams (for live typing effects) and futures (for atomic values) on every property.
  • Includes robust handling for escape sequences, unicode, and large arrays.
Weaknesses
  • Tied exclusively to the Anthropic API ecosystem.
  • API updates or breaking changes from Anthropic require SDK version updates.
  • Adds overhead compared to built-in JSON decoding if streaming is not required.
WarningsNoneNone
anthropic_sdk_dart vs llm_json_stream: which Flutter package should you use? | pubscout