Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeproto_annotations

Annotations to mark and configure business model classes for code generation of .proto and Dart mappers.

pub.devRemove
source_gen

Source code generation builders and utilities for the Dart build system.

pub.devRemove
ScoresHealth7584 (best)
Maintenance8686
Quality97 (best)81
Popularity3687 (best)
Community6480 (best)
Compatibility8585
UsageDownloads (30 days)45k7.6M (best)
Likes6191 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars—493
MaintenanceLatest release7.1.0, 3 months ago4.3.1, 5 weeks ago (best)
Major versions in 12 months10 (best)
Contributors—48
Publishersquarealfa.comtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies6 (best)9
LicenseMPL-2.0BSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Automates the generation of .proto files and Dart mapper classes.
  • Supports well-known types, polymorphism, and configuration options via annotations.
  • Exposes a developer-friendly API on top of lower-level analyzer and build packages
  • Supports multiple code generators integrating seamlessly in the same project via shared part builders
Weaknesses
  • Requires a separate generator package to perform the actual code generation.
  • Adds external dependencies like grpc and protobuf to your project.
  • Requires understanding of the Dart build system and analyzer APIs
Warnings
  • File-level copyleft
None
proto_annotations vs source_gen: which Flutter package should you use? | pubscout