Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebloc_tools

Command-line tools for generating and linting bloc and cubit components.

pub.devRemove
yx_state

A state management library for Dart and Flutter applications.

pub.devRemove
ScoresHealth88 (best)82
Maintenance89 (best)78
Quality100100
Popularity72 (best)58
Community8080
Compatibility100100
UsageDownloads (30 days)75k (best)7.6k
Likes2731 (best)
Pub points160 / 160160 / 160
GitHub stars12k (best)64
MaintenanceLatest release0.1.0-dev.25, 8 weeks ago1.0.2, 6 weeks ago (best)
Major versions in 12 months00
Contributors100+ (best)11
Publisherbloclibrary.devdev.go.yandex
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies61 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Automates the creation of boilerplate code for multiple bloc variants
  • Integrates official bloc linting commands
  • Built-in error handling and error reporting mechanisms.
  • State observers allow easy monitoring for debugging and analytics.
  • Global overrides for customizing state emission behavior.
Weaknesses
  • Requires global activation via pub
  • Limited to command-line utility functions
  • Limited community and ecosystem compared to older, dominant alternatives like Bloc or Riverpod.
  • Relies on manual state class definitions and equality overrides.
WarningsNoneNone
bloc_tools vs yx_state: which Flutter package should you use? | pubscout