Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedata_class_plugin

A tool that uses Dart's Analyzer to generate data classes, unions, and enums.

pub.devRemove
model_generator

Automatically generate Dart models from YAML configuration files.

pub.devRemove
ScoresHealth71 (best)44
Maintenance89 (best)1
Quality6891 (best)
Popularity37 (best)17
Community5263 (best)
Compatibility100 (best)85
UsageDownloads (30 days)3.5k (best)915
Likes19 (best)12
Pub points120 / 160140 / 160 (best)
GitHub stars17 (best)11
MaintenanceLatest release1.6.1, 6 weeks ago (best)7.0.0, 3 years ago
Major versions in 12 months00
Contributors35 (best)
Publisherptsakoulis.comicapps.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies105 (best)
LicenseMITMIT
Setup effortMediumLow
JudgementStrengths
  • Fast build times using Tachyon
  • Provides IDE code actions instead of relying purely on a watch command
  • Supports customizable naming conventions and custom JSON converters
  • Supports inline type definitions, generics, enums with properties, and custom converters.
  • Can look up models from a single config file or an entire directory of YAML files.
Weaknesses
  • Requires configuring Tachyon and the analysis server
  • Has breaking changes between major versions
  • Requires managing and writing model definitions in separate YAML files instead of native Dart code.
  • Breaking changes between major versions (such as v7.0.0) require updates to existing YAML configurations.
WarningsNoneNone
data_class_plugin vs model_generator: which Flutter package should you use? | pubscout