Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_mappable

JSON serialization and data classes generator supporting generics, inheritance, and customization.

pub.devRemove
scratch_space

Manages running external executables within package:build via a temporary directory wrapper.

pub.devRemove
ScoresHealth89 (best)72
Maintenance84 (best)71
Quality100 (best)81
Popularity83 (best)47
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)510k (best)236k
Likes470 (best)9
Pub points160 / 160 (best)150 / 160
GitHub stars242872 (best)
MaintenanceLatest release4.10.0, 2 months ago (best)1.2.2, 5 months ago
Major versions in 12 months00
Contributors19100+ (best)
Publisherschultek.devtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationYesNo
Direct dependencies3 (best)4
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Full support for generics, polymorphism, and inheritance.
  • All-in-one package generating serialization, equality, toString, and copyWith.
  • Highly flexible with mapping hooks and custom configuration options.
  • Simplifies integration of external binaries into package:build
  • Provides asset synchronization via digests and helper methods for copying outputs back
Weaknesses
  • Requires running build_runner for code generation.
  • toJson() returns a String rather than a Map<String, dynamic>, which requires attention when migrating from other packages.
  • Cannot delete individual assets from a scratch space currently, only the entire space
  • Requires proper handling of temporary resources to avoid filling up the disk
WarningsNoneNone
dart_mappable vs scratch_space: which Flutter package should you use? | pubscout